Skip to content

Commit 3825c88

Browse files
committed
feat: support ESLint 8.x
1 parent 4b6e9df commit 3825c88

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.travis.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ language: node_js
33
notifications:
44
email: false
55
node_js:
6+
- '16'
67
- '14'
78
- '12'
8-
- '10'
99
before_install:
1010
- nvm install-latest-npm
1111
before_script:
@@ -18,6 +18,7 @@ after_success:
1818
- npm run travis-after-all
1919
env:
2020
matrix:
21+
- ESLINT=8
2122
- ESLINT=7
2223
- ESLINT=6
2324
- ESLINT=5 AJV=6
@@ -29,6 +30,16 @@ matrix:
2930
env: LINTONLY=true
3031
- node_js: "14"
3132
env: ESLINT=7.7
33+
- node_js: "10"
34+
env: ESLINT=7
35+
- node_js: "10"
36+
env: ESLINT=6
37+
- node_js: "10"
38+
env: ESLINT=5 AJV=6
39+
- node_js: "10"
40+
env: ESLINT=4 AJV=5
41+
- node_js: "10"
42+
env: ESLINT=3
3243
- node_js: "8"
3344
env: ESLINT=6
3445
- node_js: "8"

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
],
3131
"license": "MIT",
3232
"dependencies": {
33-
"@eslint/eslintrc": "^0.1.3",
33+
"@eslint/eslintrc": "^0.4.3 || ^1.0.0",
3434
"cliui": "^3.2.0",
3535
"eslint-rule-documentation": "^1.0.23",
3636
"glob": "^7.1.6",
@@ -48,8 +48,8 @@
4848
"codecov": "^2.3.1",
4949
"commitizen": "^2.10.1",
5050
"cz-conventional-changelog": "^2.1.0",
51-
"eslint": "^3.12.0 || ^4 || ^5 || ^6 || ^7",
52-
"eslint-plugin-json": "^2.1.2",
51+
"eslint": "^3.12.0 || ^4 || ^5 || ^6 || ^7 || ^8",
52+
"eslint-plugin-json": "^3.1.0",
5353
"ghooks": "^2.0.4",
5454
"mocha": "^3.5.3",
5555
"npm-run-all": "^4.1.5",
@@ -62,7 +62,7 @@
6262
"validate-commit-msg": "^2.14.0"
6363
},
6464
"peerDependencies": {
65-
"eslint": "^3.12.0 || ^4 || ^5 || ^6 || ^7"
65+
"eslint": "^3.12.0 || ^4 || ^5 || ^6 || ^7 || ^8"
6666
},
6767
"nyc": {
6868
"exclude": [

0 commit comments

Comments
 (0)