diff options
Diffstat (limited to 'eslint.config.js')
-rw-r--r-- | eslint.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eslint.config.js b/eslint.config.js index ac88ddf..228a920 100644 --- a/eslint.config.js +++ b/eslint.config.js | |||
@@ -21,7 +21,11 @@ export default [ | |||
21 | node: nodePlugin, | 21 | node: nodePlugin, |
22 | }, | 22 | }, |
23 | rules: { | 23 | rules: { |
24 | 'no-unused-vars': ['warn', { 'varsIgnorePattern': '^_' }], | 24 | 'no-unused-vars': ['warn', { |
25 | 'varsIgnorePattern': '^_', | ||
26 | "argsIgnorePattern": "^_", | ||
27 | "caughtErrorsIgnorePattern": "^ignore|_", | ||
28 | }], | ||
25 | 'import/no-unresolved': 'error', | 29 | 'import/no-unresolved': 'error', |
26 | 'no-console': ["error", { allow: ["info", "warn", "error"] }], | 30 | 'no-console': ["error", { allow: ["info", "warn", "error"] }], |
27 | 'eqeqeq': ['error', 'always'], | 31 | 'eqeqeq': ['error', 'always'], |