Skip to content

Commit 4e3c0ed

Browse files
committed
lint: apply standard 12 style
1 parent d034a8d commit 4e3c0ed

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.travis.yml

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

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

benchmark/wrapfunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ suite.on('complete', function onComplete () {
4141
benchmarks.log()
4242
})
4343

44-
suite.run({async: false})
44+
suite.run({ async: false })

benchmark/wrapproperty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ suite.on('complete', function onComplete () {
3535
benchmarks.log()
3636
})
3737

38-
suite.run({async: false})
38+
suite.run({ async: false })

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"devDependencies": {
1414
"benchmark": "2.1.4",
1515
"beautify-benchmark": "0.2.4",
16-
"eslint": "4.19.1",
17-
"eslint-config-standard": "11.0.0",
18-
"eslint-plugin-import": "2.11.0",
16+
"eslint": "5.6.0",
17+
"eslint-config-standard": "12.0.0",
18+
"eslint-plugin-import": "2.14.0",
1919
"eslint-plugin-markdown": "1.0.0-beta.7",
20-
"eslint-plugin-node": "6.0.1",
21-
"eslint-plugin-promise": "3.7.0",
22-
"eslint-plugin-standard": "3.0.1",
20+
"eslint-plugin-node": "7.0.1",
21+
"eslint-plugin-promise": "4.0.1",
22+
"eslint-plugin-standard": "4.0.0",
2323
"istanbul": "0.4.5",
2424
"mocha": "2.5.3",
2525
"safe-buffer": "5.1.1"

test/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ run('when browserified', function () {
9999
it('should throw when given non-configurable property', function () {
100100
var deprecate = depd('test')
101101
var obj = {}
102-
Object.defineProperty(obj, 'thing', {value: 'thingie'})
102+
Object.defineProperty(obj, 'thing', { value: 'thingie' })
103103
assert.throws(deprecate.property.bind(deprecate, obj, 'thing'), /property.*configurable/)
104104
})
105105

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ describe('deprecate.property(obj, prop, message)', function () {
408408
it('should throw when given non-configurable property', function () {
409409
var deprecate = depd('test')
410410
var obj = {}
411-
Object.defineProperty(obj, 'thing', {value: 'thingie'})
411+
Object.defineProperty(obj, 'thing', { value: 'thingie' })
412412
assert.throws(deprecate.property.bind(deprecate, obj, 'thing'), /property.*configurable/)
413413
})
414414

@@ -757,7 +757,7 @@ describe('node script.js', function () {
757757

758758
function captureChildStderr (args, callback) {
759759
var chunks = []
760-
var env = {PATH: process.env.PATH}
760+
var env = { PATH: process.env.PATH }
761761
var exec = process.execPath
762762
var proc = spawn(exec, args, {
763763
env: env

0 commit comments

Comments
 (0)