Skip to content

Commit 52f455c

Browse files
committed
fix no-unused-vars
1 parent 0fa1631 commit 52f455c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/eslint/src/disabledRules.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,20 @@ export const disabledRules = {
1212
'@typescript-eslint/no-unused-vars': [
1313
0,
1414
{
15-
args: 'all',
15+
args: 'after-used',
16+
// Not included in default options
1617
argsIgnorePattern: '^_',
1718
caughtErrors: 'all',
19+
// Not included in default options
1820
caughtErrorsIgnorePattern: '^_',
21+
// Not included in default options
1922
destructuredArrayIgnorePattern: '^_',
23+
ignoreClassWithStaticInitBlock: false,
24+
ignoreRestSiblings: false,
25+
reportUsedIgnorePattern: false,
26+
vars: 'all',
27+
// Not included in default options
2028
varsIgnorePattern: '^_',
21-
ignoreRestSiblings: true,
2229
},
2330
],
2431
'@typescript-eslint/ban-ts-comment': [

0 commit comments

Comments
 (0)