Skip to content

Commit 51f4b74

Browse files
committed
build: eslint@7.0.0
1 parent d2d1abe commit 51f4b74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ before_install:
6060

6161
# Setup Node.js version-specific dependencies
6262
- "node tool/install-nyc.js --nyc-optional"
63-
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 8 || npm rm --save-dev eslint"
63+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 10 || npm rm --save-dev eslint"
6464

6565
# Update Node.js modules
6666
- "test ! -d node_modules || npm prune"
@@ -84,7 +84,7 @@ before_script:
8484
script:
8585
# Run test script
8686
- "npm run-script test-ci"
87-
- "test -z $(npm -ps ls eslint) || npm run-script lint"
87+
- "npm -ps ls eslint | grep -vq eslint || npm run-script lint"
8888

8989
after_script:
9090
- "test -d .nyc_output && npm install coveralls@2 && nyc report --reporter=text-lcov | coveralls"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"after": "0.8.2",
23-
"eslint": "6.1.0",
23+
"eslint": "7.0.0",
2424
"seedrandom": "3.0.5",
2525
"timezone-mock": "0.0.7",
2626
"urun": "0.0.8",

0 commit comments

Comments
 (0)