We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_
1 parent 7784d35 commit 24055b2Copy full SHA for 24055b2
.eslintrc.cjs
@@ -48,6 +48,16 @@ module.exports = {
48
'@typescript-eslint/consistent-type-imports': 'error',
49
'@typescript-eslint/no-floating-promises': 'error',
50
'@typescript-eslint/no-misused-promises': 'error',
51
+ '@typescript-eslint/no-unused-vars': [
52
+ 'error',
53
+ {
54
+ // TypeScript by default allows params starting with _
55
+ varsIgnorePattern: /^_/.source,
56
+ argsIgnorePattern: /^_/.source,
57
+ caughtErrorsIgnorePattern: /^_/.source,
58
+ destructuredArrayIgnorePattern: /^_/.source,
59
+ },
60
+ ],
61
'@typescript-eslint/ban-ts-comment': [
62
'error',
63
{
0 commit comments