Skip to content

Commit dd849bc

Browse files
committed
add unused vars config
1 parent 74219a2 commit dd849bc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/eslint-config/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ module.exports = {
6262
},
6363
},
6464
],
65+
'@typescript-eslint/no-unused-vars': [
66+
'error',
67+
{
68+
vars: 'all',
69+
varsIgnorePattern: '^_',
70+
args: 'after-used',
71+
argsIgnorePattern: '^_',
72+
caughtErrors: 'none',
73+
caughtErrorsIgnorePattern: '^_',
74+
destructuredArrayIgnorePattern: '^_',
75+
ignoreRestSiblings: true,
76+
},
77+
],
6578
},
6679
},
6780
],

0 commit comments

Comments
 (0)