From 4911a2c58fe00fde33e3bbcc1c36697288623284 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 1 Sep 2017 22:09:30 -0400 Subject: [PATCH] lint: apply standard 10 style --- .travis.yml | 2 +- package.json | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9151c7b..e47c364 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_install: # 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 eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard" + - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" # Update Node.js modules - "test ! -d node_modules || npm prune" diff --git a/package.json b/package.json index 7c06681..e2259fe 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,11 @@ "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", "eslint": "3.19.0", - "eslint-config-standard": "6.2.1", - "eslint-plugin-promise": "3.3.0", - "eslint-plugin-standard": "2.0.1", + "eslint-config-standard": "10.2.1", + "eslint-plugin-import": "2.7.0", + "eslint-plugin-node": "5.1.1", + "eslint-plugin-promise": "3.5.0", + "eslint-plugin-standard": "3.0.1", "fast-url-parser": "1.1.3", "istanbul": "0.4.5", "mocha": "2.5.3"