Skip to content

Commit

Permalink
fix: remove redundant checks
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Nov 8, 2019
1 parent 7244b5f commit e00a199
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,14 @@ module.exports = {
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
'@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true }],
'@typescript-eslint/no-unused-vars': [
'warn',
{
varsIgnorePattern: '.*', // TS already enforces this
args: 'after-used',
ignoreRestSiblings: true,
},
],
'@typescript-eslint/no-use-before-define': ['error', { functions: false }],
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-var-requires': 'error',
Expand All @@ -249,6 +256,7 @@ module.exports = {
'import/namespace': 'off',
'import/no-deprecated': 'off',
'react/no-direct-mutation-state': 'off',
'react/jsx-no-undef': 'off',
'no-undef': 'off',
'no-dupe-class-members': 'off',
'require-await': 'off',
Expand Down

0 comments on commit e00a199

Please sign in to comment.