Skip to content

Commit 2b9aa5f

Browse files
committed
chore: upgrade typescript-eslint to fix version mismatch warning
1 parent 3600b2a commit 2b9aa5f

File tree

3 files changed

+240
-120
lines changed

3 files changed

+240
-120
lines changed

.eslintrc.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module.exports = {
3333
'@typescript-eslint/no-explicit-any': 0,
3434
'@typescript-eslint/no-use-before-define': 0,
3535
'@typescript-eslint/no-var-requires': 0,
36+
'@typescript-eslint/no-require-imports': 0,
37+
'@typescript-eslint/no-unused-expressions': 0,
3638

3739
// Required checks
3840
'indent': ['error', 2],
@@ -54,7 +56,14 @@ module.exports = {
5456
}
5557
],
5658
'no-unused-vars': 'off', // Must be disabled to enable the next rule
57-
'@typescript-eslint/no-unused-vars': ['error'],
59+
'@typescript-eslint/no-unused-vars': [
60+
'error',
61+
{
62+
'varsIgnorePattern': '^_',
63+
'argsIgnorePattern': '^_',
64+
'caughtErrors': 'none'
65+
}
66+
],
5867
'quotes': ['error', 'single', {'avoidEscape': true}],
5968
'@typescript-eslint/naming-convention': [
6069
'error',

0 commit comments

Comments
 (0)