Skip to content

Commit 8c47371

Browse files
committed
lint: apply standard 10 style
1 parent 4c643e9 commit 8c47371

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_install:
2020
# Setup Node.js version-specific dependencies
2121
- "test $TRAVIS_NODE_VERSION != '0.6' || npm rm --save-dev istanbul"
2222
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
23-
- "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"
23+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"
2424
# Update Node.js modules
2525
- "test ! -d node_modules || npm prune"
2626
- "test ! -d node_modules || npm rebuild"

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
},
1616
"devDependencies": {
1717
"eslint": "3.19.0",
18-
"eslint-config-standard": "6.2.1",
18+
"eslint-config-standard": "10.2.1",
19+
"eslint-plugin-import": "2.6.0",
1920
"eslint-plugin-markdown": "1.0.0-beta.6",
20-
"eslint-plugin-promise": "3.4.0",
21-
"eslint-plugin-standard": "2.0.1",
21+
"eslint-plugin-node": "5.0.0",
22+
"eslint-plugin-promise": "3.5.0",
23+
"eslint-plugin-standard": "3.0.1",
2224
"istanbul": "0.4.5",
2325
"mocha": "1.21.5"
2426
},

0 commit comments

Comments
 (0)