Skip to content

Commit 546cf80

Browse files
committed
1 parent 92846bd commit 546cf80

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

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

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cache:
1515
install:
1616
- ps: Install-Product node $env:nodejs_version
1717
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
18-
- npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard
18+
- for /f tokens^=2^ delims^=^" %%m in ('findstr /r /c:"eslint[^ ]" package.json') do call npm rm --save-dev %%m
1919
- if exist node_modules npm prune
2020
- if exist node_modules npm rebuild
2121
- npm install

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
"send": "0.15.1"
1313
},
1414
"devDependencies": {
15-
"eslint": "3.17.0",
16-
"eslint-config-standard": "7.0.0",
15+
"eslint": "3.19.0",
16+
"eslint-config-standard": "10.2.1",
17+
"eslint-plugin-import": "2.2.0",
1718
"eslint-plugin-markdown": "1.0.0-beta.4",
19+
"eslint-plugin-node": "4.2.2",
1820
"eslint-plugin-promise": "3.5.0",
19-
"eslint-plugin-standard": "2.1.1",
21+
"eslint-plugin-standard": "3.0.1",
2022
"istanbul": "0.4.5",
2123
"mocha": "2.5.3",
2224
"supertest": "1.1.0"

0 commit comments

Comments
 (0)