-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Requires ESLint@^7.0.0 || ^8.0.0
- Loading branch information
1 parent
f0c1e44
commit b79ac1d
Showing
4 changed files
with
11 additions
and
41 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 |
---|---|---|
|
@@ -10,18 +10,7 @@ node_js: | |
before_install: | ||
- npm config set depth 0 | ||
before_script: > | ||
node_version=$(node -v); | ||
if [ ${node_version:3:1} = "." ]; then | ||
echo "Node 10+" | ||
if [ ${ESLINT} = "6" ]; then | ||
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" [email protected] | ||
else | ||
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" | ||
fi | ||
else | ||
echo "Node 8+" | ||
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" [email protected] [email protected] [email protected] | ||
fi | ||
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" | ||
notifications: | ||
email: false | ||
script: | ||
|
@@ -30,16 +19,13 @@ script: | |
- npm run build | ||
env: | ||
jobs: | ||
- ESLINT=8 | ||
- ESLINT=7 | ||
- ESLINT=6 | ||
jobs: | ||
fast_finish: true | ||
include: | ||
- node_js: 'lts/*' | ||
env: LINT=true | ||
exclude: | ||
- node_js: 8 | ||
env: ESLINT=7 | ||
after_success: | ||
- export NODE_ENV=production | ||
- npm run build | ||
|
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