diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:11:40 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:11:40 -0800 |
| commit | d5a413382c93efeb1d888daf3216c51cd5f40f75 (patch) | |
| tree | a7d8505a0a1c90050ea6bd33c02f7e8a5b5537e5 /frontend/eslint.config.js | |
| parent | a7369274ba24298a0449865f147fc65253e992a2 (diff) | |
| download | neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.gz neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.bz2 neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.zip | |
chore: fix lint and type errors to resolve CI failures
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 |
