diff options
Diffstat (limited to 'frontend/eslint.config.js')
| -rw-r--r-- | frontend/eslint.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 043ab7a..d2de7f8 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint'; import eslintConfigPrettier from 'eslint-config-prettier'; export default tseslint.config( - { ignores: ['dist'] }, + { ignores: ['dist', 'coverage', 'playwright-report'] }, { extends: [js.configs.recommended, ...tseslint.configs.recommended], files: ['**/*.{ts,tsx}'], @@ -21,6 +21,11 @@ export default tseslint.config( rules: { ...reactHooks.configs.recommended.rules, 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], + '@typescript-eslint/no-unused-vars': ['warn', { + argsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_' + }], + '@typescript-eslint/no-explicit-any': 'warn', }, }, eslintConfigPrettier |
