Skip to content

Commit e8f02aa

Browse files
authoredJul 27, 2024··
chore: update eslint to v9 (#404)
1 parent f5c1c20 commit e8f02aa

File tree

3 files changed

+300
-243
lines changed

3 files changed

+300
-243
lines changed
 

‎eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { fixupPluginRules } from "@eslint/compat";
12
import js from "@eslint/js";
23
import angularEslint from "angular-eslint";
34
import deprecation from "eslint-plugin-deprecation";
@@ -27,7 +28,7 @@ export default tseslint.config(
2728
...globals.browser,
2829
},
2930
},
30-
plugins: { deprecation },
31+
plugins: { deprecation: fixupPluginRules(deprecation) },
3132
processor: angularEslint.processInlineTemplates,
3233
rules: {
3334
"@typescript-eslint/no-extraneous-class": "off",

‎package-lock.json

Lines changed: 292 additions & 240 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@
3636
"@angular-devkit/build-angular": "~18.1.0",
3737
"@angular/cli": "~18.1.0",
3838
"@angular/compiler-cli": "~18.1.0",
39+
"@eslint/compat": "^1.1.1",
3940
"@eslint/js": "^9.2.0",
4041
"@types/jasmine": "~5.1.0",
41-
"angular-eslint": "^18.0.0-alpha.16",
42+
"angular-eslint": "^18.0.0",
4243
"cpy-cli": "^5.0.0",
4344
"dayjs": "^1.11.7",
44-
"eslint": "^8.53.0",
45+
"eslint": "^9.0.0",
4546
"eslint-plugin-deprecation": "^3.0.0",
4647
"globals": "^15.1.0",
4748
"jasmine-core": "~5.2.0",
@@ -57,5 +58,8 @@
5758
"prettier-plugin-organize-imports": "^4.0.0",
5859
"typescript": "~5.5.0",
5960
"typescript-eslint": "^8.0.0-alpha.20"
61+
},
62+
"overrides": {
63+
"eslint": "^9.0.0"
6064
}
6165
}

0 commit comments

Comments
 (0)
Please sign in to comment.