Skip to content

Commit 6be2928

Browse files
authored
feat: allow @typescript-eslint v7 (#1500)
1 parent 196581a commit 6be2928

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/nodejs.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,20 @@ jobs:
7373
matrix:
7474
node-version: [14.x, 16.x, 18.x, 19.x, 20.x, 21.x]
7575
eslint-version: [7, 8]
76-
ts-eslint-plugin-version: [5, 6]
76+
ts-eslint-plugin-version: [5, 6, 7]
7777
exclude:
7878
# ts-eslint/plugin@6 doesn't support node@14
7979
- node-version: 14.x
8080
ts-eslint-plugin-version: 6
81+
# ts-eslint/plugin@7 doesn't support node@14
82+
- node-version: 14.x
83+
ts-eslint-plugin-version: 7
84+
# ts-eslint/plugin@7 doesn't support node@16
85+
- node-version: 16.x
86+
ts-eslint-plugin-version: 7
87+
# ts-eslint/plugin@7 doesn't support eslint@7
88+
- eslint-version: 7
89+
ts-eslint-plugin-version: 7
8190
runs-on: ubuntu-latest
8291

8392
steps:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"typescript": "^5.0.4"
143143
},
144144
"peerDependencies": {
145-
"@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0",
145+
"@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0 || ^7.0.0",
146146
"eslint": "^7.0.0 || ^8.0.0",
147147
"jest": "*"
148148
},

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -5002,7 +5002,7 @@ __metadata:
50025002
ts-node: ^10.2.1
50035003
typescript: ^5.0.4
50045004
peerDependencies:
5005-
"@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0
5005+
"@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0 || ^7.0.0
50065006
eslint: ^7.0.0 || ^8.0.0
50075007
jest: "*"
50085008
peerDependenciesMeta:

0 commit comments

Comments
 (0)