-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Support ESLint 7.x * fix: Fix ESLint errors * Update .travis.yml * chore: Update dependencies * chore: Update dependencies * fix: Cleanup yarn.lock * fix: Fix ESLint errors * chore: Don't check for engines in tests * [Breaking] drop support for all but eslint 6/7, and jest 25/26 * Add engines to make the minimum required Node version more clear * Update ESLint plugins to latest version Co-authored-by: Jordan Harband <ljharb@gmail.com>
- Loading branch information
1 parent
6d1c78d
commit 2b0d259
Showing
5 changed files
with
1,458 additions
and
1,542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,21 @@ | ||
language: node_js | ||
node_js: | ||
- '12' | ||
- '10' | ||
- '8' | ||
- '6' | ||
# eslint 7: node 10.12+ | ||
# jest 26: node 10.14.2+ | ||
- 14 | ||
- 12 | ||
- 10 | ||
install: | ||
- 'yarn add "eslint@${ESLINT}" "jest@${JEST}" "babel-jest@${JEST}"' | ||
- 'yarn' | ||
- 'yarn add "eslint@${ESLINT}" "jest@${JEST}" "babel-jest@${JEST}" --ignore-engines' | ||
- 'yarn --ignore-engines' | ||
env: | ||
- 'ESLINT=4 JEST=24' | ||
- 'ESLINT=5 JEST=24' | ||
- 'ESLINT=6 JEST=24' | ||
- 'ESLINT=4 JEST=25' | ||
- 'ESLINT=5 JEST=25' | ||
- 'ESLINT=6 JEST=25' | ||
- 'ESLINT=4 JEST=26' | ||
- 'ESLINT=5 JEST=26' | ||
- 'ESLINT=7 JEST=25' | ||
- 'ESLINT=6 JEST=26' | ||
- 'ESLINT=7 JEST=26' | ||
matrix: | ||
exclude: | ||
# exclude eslint 6 on node 6 | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=24' | ||
- node_js: '6' | ||
# jest 25: node 8+ | ||
include: | ||
# eslint 6, node 8 | ||
- node_js: 8 | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 25 on node 6 | ||
- node_js: '6' | ||
env: 'ESLINT=4 JEST=25' | ||
- node_js: '6' | ||
env: 'ESLINT=5 JEST=25' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 25 on node 8 | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=25' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=25' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 26 on node 6 | ||
- node_js: '6' | ||
env: 'ESLINT=4 JEST=26' | ||
- node_js: '6' | ||
env: 'ESLINT=5 JEST=26' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=26' | ||
# exclude jest 26 on node 8 | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=26' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=26' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=26' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.