Skip to content

Commit

Permalink
feat: change unused var to error (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: kanary <[email protected]>
  • Loading branch information
Kanary159357 and kanary committed Apr 29, 2024
1 parent 9f05b77 commit 6219071
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/eslint-config/rules/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,7 @@ module.exports = {
{ allowShortCircuit: true, enforceForJSX: true },
],
'no-unused-labels': 'warn',
'no-unused-vars': [
'warn',
{
vars: 'all',
args: 'none',
ignoreRestSiblings: true,
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
},
],
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
'no-useless-computed-key': 'warn',
'no-useless-concat': 'warn',
'no-useless-constructor': 'warn',
Expand Down

0 comments on commit 6219071

Please sign in to comment.