Skip to content

Commit 0bdc122

Browse files
authored
Support ESLint 9 and 10 via version range and peer overrides
1 parent 02a3250 commit 0bdc122

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

package-lock.json

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@rollup/plugin-node-resolve": "^16.0.3",
6565
"@typescript-eslint/parser": "^8.0.1",
6666
"dedent": "^1.5.3",
67-
"eslint": "^10.7.0",
67+
"eslint": "^9.0.0 || ^10.0.0",
6868
"eslint-plugin-github": "^6.0.0",
6969
"eslint-plugin-import": "^2.29.1",
7070
"eslint-plugin-jest": "^29.2.1",
@@ -79,6 +79,17 @@
7979
"peerDependencies": {
8080
"@primer/primitives": "10.x || 11.x"
8181
},
82+
"overrides": {
83+
"eslint-plugin-import": {
84+
"eslint": "$eslint"
85+
},
86+
"eslint-plugin-jsx-a11y": {
87+
"eslint": "$eslint"
88+
},
89+
"jest-preset-stylelint": {
90+
"stylelint": "$stylelint"
91+
}
92+
},
8293
"jest": {
8394
"transform": {},
8495
"preset": "jest-preset-stylelint",

0 commit comments

Comments
 (0)