diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index a52431b4e2..9ee4c8235a 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -3,15 +3,22 @@ import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import unusedImports from "eslint-plugin-unused-imports"; + export default tseslint.config( - eslint.configs.recommended, - ...tseslint.configs.recommended, + eslint.configs.recommended, + ...tseslint.configs.recommended, + { + files: ['**/*.spec.ts'], + rules: { + "@typescript-eslint/no-explicit-any": "off" + }, + }, { plugins: { - "unused-imports": unusedImports, + 'unused-imports': unusedImports, }, rules: { - "unused-imports/no-unused-imports": "error", - } + 'unused-imports/no-unused-imports': 'error', + }, } );