Skip to content

Commit

Permalink
Fix ESLint configs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 5, 2025
1 parent fe5857d commit 43917f9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
6 changes: 0 additions & 6 deletions test/.eslintrc.json

This file was deleted.

13 changes: 13 additions & 0 deletions test/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import parentConfig from '../eslint.config.mjs';
import globals from 'globals';

export default [
...parentConfig,
{
languageOptions: {
globals: {
...globals.jasmine
}
}
}
];
6 changes: 0 additions & 6 deletions test/unit/.eslintrc.json

This file was deleted.

10 changes: 10 additions & 0 deletions test/unit/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import parentConfig from '../eslint.config.mjs';

export default [
...parentConfig,
{
rules: {
'@typescript-eslint/no-var-requires': 'off'
}
}
];

0 comments on commit 43917f9

Please sign in to comment.