Skip to content

Commit deaa6fd

Browse files
committed
fix: support eslint v8
1 parent aa4c6a4 commit deaa6fd

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Node.js
2121
uses: actions/setup-node@v6
2222
with:
23-
node-version: 20.x
23+
node-version: lts/*
2424
- run: npm install
2525
- run: npm run -s lint
2626
- run: npm run -s test:types
@@ -31,12 +31,8 @@ jobs:
3131
strategy:
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macOS-latest]
34-
eslint: ["9.x"]
34+
eslint: ["9.x", "8.57.1"]
3535
node: ["20.19.0", "20.x", "22.x", "24.x", "25.x"]
36-
# include:
37-
# - os: ubuntu-latest
38-
# eslint: "10.0.0-rc.0"
39-
# node: "lts/*"
4036
runs-on: ${{ matrix.os }}
4137
timeout-minutes: 30
4238
steps:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"types/index.d.ts"
1515
],
1616
"peerDependencies": {
17-
"eslint": ">=9.39.2"
17+
"eslint": ">=8.57.1"
1818
},
1919
"dependencies": {
2020
"@eslint-community/eslint-utils": "^4.5.0",
@@ -122,4 +122,4 @@
122122
"imports": {
123123
"#test-helpers": "./tests/test-helpers.js"
124124
}
125-
}
125+
}

0 commit comments

Comments
 (0)