chore: detect typescript no-unused-vars lint rule
This commit is contained in:
1 parent
7a6d4b93f0
commit
0e8d304427
1 file changed
+8
@@ -71,6 +71,14 @@ export default pluginTypeScriptESLint.config(
|
||||
}
|
||||
}
|
||||
],
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_'
|
||||
}
|
||||
],
|
||||
'@typescript-eslint/no-explicit-any': 'off'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user