Skip to content

Commit 6c17e56

Browse files
committed
lint: apply standard 12 style
1 parent 9f00ae4 commit 6c17e56

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ before_install:
2323

2424
# Setup Node.js version-specific dependencies
2525
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
26-
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"
26+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 6 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"
2727

2828
# Update Node.js modules
2929
- "test ! -d node_modules || npm prune"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ var compression = require('compression')
151151
var express = require('express')
152152

153153
var app = express()
154-
app.use(compression({filter: shouldCompress}))
154+
app.use(compression({ filter: shouldCompress }))
155155

156156
function shouldCompress (req, res) {
157157
if (req.headers['x-no-compression']) {

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
},
2020
"devDependencies": {
2121
"after": "0.8.2",
22-
"eslint": "4.19.1",
23-
"eslint-config-standard": "11.0.0",
24-
"eslint-plugin-import": "2.13.0",
22+
"eslint": "5.4.0",
23+
"eslint-config-standard": "12.0.0",
24+
"eslint-plugin-import": "2.14.0",
2525
"eslint-plugin-markdown": "1.0.0-beta.6",
26-
"eslint-plugin-node": "6.0.1",
27-
"eslint-plugin-promise": "3.8.0",
28-
"eslint-plugin-standard": "3.1.0",
26+
"eslint-plugin-node": "7.0.1",
27+
"eslint-plugin-promise": "4.0.0",
28+
"eslint-plugin-standard": "4.0.0",
2929
"istanbul": "0.4.5",
3030
"mocha": "2.5.3",
3131
"supertest": "1.1.0"

0 commit comments

Comments
 (0)