Skip to content

Commit 9564900

Browse files
committed
chore: v8
1 parent 953664c commit 9564900

File tree

3 files changed

+89
-168
lines changed

3 files changed

+89
-168
lines changed

.github/workflows/nodejs.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
node-version: [12.x, 14.x, 16.x]
71-
eslint-version: [6, 7]
71+
eslint-version: [6, 7, 8]
7272
ts-eslint-plugin-version: [4, 5]
73+
exclude:
74+
# ts-eslint/plugin@4 doesn't support eslint@8
75+
- eslint-version: 8
76+
ts-eslint-plugin-version: 4
7377
runs-on: ubuntu-latest
7478

7579
steps:

package.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"projects": [
6161
{
6262
"displayName": "test",
63+
"moduleNameMapper": {
64+
"@eslint/eslintrc/universal": "@eslint/eslintrc/dist/eslintrc-universal.cjs"
65+
},
6366
"testEnvironment": "node",
6467
"testPathIgnorePatterns": [
6568
"<rootDir>/lib/.*",
@@ -100,7 +103,7 @@
100103
"babel-jest": "^27.0.0",
101104
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
102105
"dedent": "^0.7.0",
103-
"eslint": "^6.0.0 || ^7.0.0",
106+
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
104107
"eslint-config-prettier": "^8.3.0",
105108
"eslint-plugin-eslint-comments": "^3.1.2",
106109
"eslint-plugin-eslint-config": "^2.0.0",
@@ -124,7 +127,7 @@
124127
},
125128
"peerDependencies": {
126129
"@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0",
127-
"eslint": "^6.0.0 || ^7.0.0"
130+
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
128131
},
129132
"peerDependenciesMeta": {
130133
"@typescript-eslint/eslint-plugin": {
@@ -150,5 +153,8 @@
150153
"@semantic-release/git",
151154
"@semantic-release/github"
152155
]
156+
},
157+
"resolutions": {
158+
"@typescript-eslint/experimental-utils": "^5.0.0"
153159
}
154160
}

0 commit comments

Comments
 (0)