diff --git a/common/.eslintrc.js b/common/.eslintrc.js index 7904e7ad..3d6cfa82 100644 --- a/common/.eslintrc.js +++ b/common/.eslintrc.js @@ -17,6 +17,14 @@ module.exports = { }, rules: { '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-unused-vars': [ + 'warn', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + }, + ], }, }, ], diff --git a/functions/.eslintrc.js b/functions/.eslintrc.js index 91ca1cea..7f571610 100644 --- a/functions/.eslintrc.js +++ b/functions/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-extra-semi': 'off', '@typescript-eslint/no-unused-vars': [ - 'error', + 'warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', diff --git a/web/.eslintrc.js b/web/.eslintrc.js index 2f3ac31a..b55b3277 100644 --- a/web/.eslintrc.js +++ b/web/.eslintrc.js @@ -10,7 +10,7 @@ module.exports = { '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unused-vars': [ - 'error', + 'warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_',