Skip to content

Commit

Permalink
feat: disable default ctor rule in ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 22, 2020
1 parent 2b309cb commit 8f4ec82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ module.exports = {
rules: {
'@typescript-eslint/no-var-requires': 'off'
}
},
{
files: '*.ts',
rules: {
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error'
}
}
]
}

0 comments on commit 8f4ec82

Please sign in to comment.