build: eslint@6.1.0
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ before_install:
|
||||
fi
|
||||
- |
|
||||
# eslint for linting
|
||||
# - remove on Node.js < 6
|
||||
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
|
||||
# - remove on Node.js < 8
|
||||
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 8 ]]; then
|
||||
node -pe 'Object.keys(require("./package").devDependencies).join("\n")' | \
|
||||
grep -E '^eslint(-|$)' | \
|
||||
xargs npm rm --save-dev
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"after": "0.8.2",
|
||||
"eslint": "5.16.0",
|
||||
"eslint": "6.1.0",
|
||||
"eslint-plugin-markdown": "1.0.0",
|
||||
"istanbul": "0.4.5",
|
||||
"mocha": "5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user