Skip to content

Commit cc2979b

Browse files
Chore: Add CI tests for ESLint 7 (#291)
1 parent 35a7ee6 commit cc2979b

File tree

3 files changed

+193
-105
lines changed

3 files changed

+193
-105
lines changed

.travis.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
language: node_js
22
cache: yarn
33
node_js:
4-
- "10"
5-
- "8"
6-
- "6"
4+
- 14
5+
- 12
6+
- 10
7+
- 8
8+
- 6
79
env:
810
- ESLINT_VERSION=current
11+
- ESLINT_VERSION=^6
912
- ESLINT_VERSION=^5
1013
matrix:
1114
exclude:
15+
# eslint 7 only supports node ^10.12 || >=12
16+
- node_js: 8
17+
env: ESLINT_VERSION=current
1218
# eslint 6 only supports node >=8.10
13-
- node_js: "6"
19+
- node_js: 6
1420
env: ESLINT_VERSION=current
21+
- node_js: 6
22+
env: ESLINT_VERSION=^6
1523
install:
1624
- if [[ $ESLINT_VERSION != "current" ]]; then
1725
yarn upgrade "eslint@$ESLINT_VERSION";

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"prettier-linter-helpers": "^1.0.0"
3232
},
3333
"peerDependencies": {
34-
"eslint": ">= 5.0.0",
35-
"prettier": ">= 1.13.0"
34+
"eslint": ">=5.0.0",
35+
"prettier": ">=1.13.0"
3636
},
3737
"devDependencies": {
3838
"@not-an-aardvark/node-release-script": "^0.1.0",
39-
"eslint": "^6.0.0",
39+
"eslint": "^7.0.0",
4040
"eslint-config-not-an-aardvark": "^2.1.0",
4141
"eslint-config-prettier": "^6.0.0",
4242
"eslint-plugin-eslint-plugin": "^2.0.0",

0 commit comments

Comments
 (0)