Skip to content

Commit

Permalink
Eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
mbraak committed Oct 5, 2024
1 parent 3301265 commit 9efe788
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 297 deletions.
6 changes: 0 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import importPlugin from "eslint-plugin-import";
import jestPlugin from "eslint-plugin-jest";
import perfectionistPlugin from "eslint-plugin-perfectionist";
import playwrightPlugin from "eslint-plugin-playwright";
import testingLibraryPlugin from "eslint-plugin-testing-library";

export default [
eslint.configs.recommended,
Expand Down Expand Up @@ -52,15 +51,10 @@ export default [
files: ["src/test/**/*.ts"],
...jestPlugin.configs["flat/recommended"],
},
{
files: ["src/test/**/*.ts"],
...testingLibraryPlugin.configs["flat/dom"],
},
{
files: ["src/test/**/*.ts"],
rules: {
"jest/no-identical-title": "off",
"testing-library/no-node-access": "off",
},
},
{
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^7.0.0",
"eslint": "^8.57.1",
"eslint": "^9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-perfectionist": "^3.8.0",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-testing-library": "^6.3.0",
"givens": "^1.3.9",
"graphql": "^16.9.0",
"jest": "^29.7.0",
Expand Down
Loading

0 comments on commit 9efe788

Please sign in to comment.