Skip to content

Commit

Permalink
change config for spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel7373 committed Nov 19, 2024
1 parent f539d79 commit 4270eb8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}
);

0 comments on commit 4270eb8

Please sign in to comment.