Skip to content

Commit 09d0650

Browse files
authored
feat!: Update node versions to align with eslint v9 (#505)
see #484 (comment) Reverts #504 BREAKING CHANGE: Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0
1 parent be62420 commit 09d0650

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/ci.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,23 @@ jobs:
4141
strategy:
4242
matrix:
4343
eslint: [8]
44-
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16, 18, 20]
44+
node: [18.18.0, 20.9.0, 21.1.0, 22]
4545
os: [ubuntu-latest]
4646
include:
4747
# ESLint v9
4848
- eslint: 9
49-
node: 20
49+
node: 22
5050
os: ubuntu-latest
5151
# On other platforms
5252
- os: windows-latest
5353
eslint: 8
54-
node: 18
54+
node: 22
5555
- os: macos-latest
5656
eslint: 8
57-
node: 18
58-
# On old ESLint versions
59-
- eslint: 7
60-
node: 18
61-
os: ubuntu-latest
57+
node: 22
6258
# On the minimum supported ESLint/Node.js version
6359
- eslint: 7.0.0
64-
node: 12.22.0
60+
node: 18.18.0
6561
os: ubuntu-latest
6662
runs-on: ${{ matrix.os }}
6763
steps:

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
8888
},
8989
"engines": {
90-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
90+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
9191
},
9292
"funding": "https://opencollective.com/eslint"
9393
}

0 commit comments

Comments
 (0)