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 authored and ManuelMoeri committed Nov 20, 2024
1 parent 8f33f03 commit 96c8316
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 96c8316

Please sign in to comment.