Skip to content

Commit

Permalink
Chore: Add CI tests for ESLint 7 (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed May 9, 2020
1 parent 35a7ee6 commit cc2979b
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 105 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
language: node_js
cache: yarn
node_js:
- "10"
- "8"
- "6"
- 14
- 12
- 10
- 8
- 6
env:
- ESLINT_VERSION=current
- ESLINT_VERSION=^6
- ESLINT_VERSION=^5
matrix:
exclude:
# eslint 7 only supports node ^10.12 || >=12
- node_js: 8
env: ESLINT_VERSION=current
# eslint 6 only supports node >=8.10
- node_js: "6"
- node_js: 6
env: ESLINT_VERSION=current
- node_js: 6
env: ESLINT_VERSION=^6
install:
- if [[ $ESLINT_VERSION != "current" ]]; then
yarn upgrade "eslint@$ESLINT_VERSION";
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"prettier-linter-helpers": "^1.0.0"
},
"peerDependencies": {
"eslint": ">= 5.0.0",
"prettier": ">= 1.13.0"
"eslint": ">=5.0.0",
"prettier": ">=1.13.0"
},
"devDependencies": {
"@not-an-aardvark/node-release-script": "^0.1.0",
"eslint": "^6.0.0",
"eslint": "^7.0.0",
"eslint-config-not-an-aardvark": "^2.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-eslint-plugin": "^2.0.0",
Expand Down
Loading

0 comments on commit cc2979b

Please sign in to comment.