Skip to content

Commit 6c33c6d

Browse files
committedApr 19, 2017
lint: apply standard 10 style
1 parent b1a0dbe commit 6c33c6d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before_install:
1717
# Setup Node.js version-specific dependencies
1818
- "test $TRAVIS_NODE_VERSION != '0.6' || npm rm --save-dev istanbul"
1919
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
20-
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard"
20+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"
2121
script:
2222
# Run test script, depending on istanbul install
2323
- "test ! -z $(npm -ps ls istanbul) || npm test"

‎package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"repository": "jshttp/fresh",
1818
"devDependencies": {
1919
"eslint": "3.19.0",
20-
"eslint-config-standard": "7.0.0",
20+
"eslint-config-standard": "10.2.1",
21+
"eslint-plugin-import": "2.2.0",
2122
"eslint-plugin-markdown": "1.0.0-beta.4",
23+
"eslint-plugin-node": "4.2.2",
2224
"eslint-plugin-promise": "3.5.0",
23-
"eslint-plugin-standard": "2.1.1",
25+
"eslint-plugin-standard": "3.0.1",
2426
"istanbul": "0.4.5",
2527
"mocha": "1.21.5"
2628
},

0 commit comments

Comments
 (0)
Please sign in to comment.