From a17b5facda3f09dc67b624a48275d3651904e0c2 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 31 Aug 2018 23:47:29 -0400 Subject: [PATCH] lint: apply standard 12 style --- .travis.yml | 2 +- benchmark/etag.js | 2 +- benchmark/modified.js | 2 +- package.json | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index b0bd865..7d855f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ before_install: - "npm rm --save-dev beautify-benchmark benchmark" # Setup Node.js version-specific dependencies - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul" - - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" + - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 6 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" script: # Run test script, depending on istanbul install - "test ! -z $(npm -ps ls istanbul) || npm test" diff --git a/benchmark/etag.js b/benchmark/etag.js index dc53ec4..e2d8b68 100644 --- a/benchmark/etag.js +++ b/benchmark/etag.js @@ -44,4 +44,4 @@ suite.on('complete', function onComplete () { benchmarks.log() }) -suite.run({async: false}) +suite.run({ async: false }) diff --git a/benchmark/modified.js b/benchmark/modified.js index 8d99eb0..a7df815 100644 --- a/benchmark/modified.js +++ b/benchmark/modified.js @@ -38,4 +38,4 @@ suite.on('complete', function onComplete () { benchmarks.log() }) -suite.run({async: false}) +suite.run({ async: false }) diff --git a/package.json b/package.json index eea1a44..5b4d5ca 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,13 @@ "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", - "eslint": "4.19.1", - "eslint-config-standard": "11.0.0", - "eslint-plugin-import": "2.12.0", + "eslint": "5.4.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.14.0", "eslint-plugin-markdown": "1.0.0-beta.6", - "eslint-plugin-node": "6.0.1", - "eslint-plugin-promise": "3.8.0", - "eslint-plugin-standard": "3.1.0", + "eslint-plugin-node": "7.0.1", + "eslint-plugin-promise": "4.0.0", + "eslint-plugin-standard": "4.0.0", "istanbul": "0.4.5", "mocha": "2.5.3" },