Skip to content

Commit

Permalink
Eslint 9 (#833)
Browse files Browse the repository at this point in the history
* Remove eslint-plugin-deprecation

* Remove eslint-plugin-import

* eslint-plugin-import
  • Loading branch information
mbraak authored Oct 5, 2024
1 parent f22fd6b commit a0fc9c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 182 deletions.
16 changes: 0 additions & 16 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import importPlugin from "eslint-plugin-import";
import deprecationPlugin from "eslint-plugin-deprecation";
import jestPlugin from "eslint-plugin-jest";
import playwrightPlugin from "eslint-plugin-playwright";
import testingLibraryPlugin from "eslint-plugin-testing-library";
Expand All @@ -19,9 +18,6 @@ export default [
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
deprecation: deprecationPlugin,
},
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/interface-name-prefix": "off",
Expand All @@ -48,18 +44,6 @@ export default [
},
],
"@typescript-eslint/unified-signatures": "off",
"deprecation/deprecation": "error",
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".js", ".mjs"],
},
"import/resolver": {
typescript: {
alwaysTryTypes: true,
project: "./tsconfig.json",
},
},
},
},
{
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^7.0.0",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-playwright": "^1.6.2",
Expand Down
Loading

0 comments on commit a0fc9c3

Please sign in to comment.