Skip to content

Commit dcbe976

Browse files
committed
lint: apply standard 10 style
1 parent 0c9c3e2 commit dcbe976

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ before_install:
2626
# Setup Node.js version-specific dependencies
2727
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
2828
- "test $TRAVIS_NODE_VERSION = '0.8' || npm install browserify"
29-
- "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"
29+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"
3030

3131
# Update Node.js modules
3232
- "test ! -d node_modules || npm prune"

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ install:
2020
- npm rm --save-dev benchmark beautify-benchmark & ver > nul
2121
- if "%nodejs_version%" equ "0.8" npm config set strict-ssl false
2222
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
23-
- npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard
23+
- for /f tokens^=2^ delims^=^" %%m in ('findstr /r /c:"eslint[^ ]" package.json') do call npm rm --save-dev %%m
2424
- if exist node_modules npm prune
2525
- if exist node_modules npm rebuild
2626
- npm install

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
"benchmark": "2.1.4",
1515
"beautify-benchmark": "0.2.4",
1616
"eslint": "3.19.0",
17-
"eslint-config-standard": "7.1.0",
17+
"eslint-config-standard": "10.2.1",
18+
"eslint-plugin-import": "2.8.0",
1819
"eslint-plugin-markdown": "1.0.0-beta.7",
20+
"eslint-plugin-node": "5.2.1",
1921
"eslint-plugin-promise": "3.6.0",
2022
"eslint-plugin-standard": "3.0.1",
2123
"istanbul": "0.4.5",

0 commit comments

Comments
 (0)