From 46d798d63cefc42ecb4292d0a5bd08351f20f965 Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Mon, 25 Jun 2018 03:00:40 -0400 Subject: [PATCH] chore(package): upgrade packages `standard` is breaking on the new eslint, will need to to revaluate linting rules without it --- .eslintrc | 2 -- package.json | 26 ++++++++++++-------------- test/initializers/assert.js | 1 + test/initializers/test-config.js | 1 + 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.eslintrc b/.eslintrc index 13a9d4919..c9fd3a3d9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,6 +1,5 @@ { "extends": [ - "standard", "plugin:node/recommended" ], "plugins": [ @@ -31,7 +30,6 @@ "prefer-template": 2, "semi": [2, "always", {"omitLastInOneLineBlock": true}], "space-before-function-paren": [2, "never"], - "standard/object-curly-even-spacing": 0, "valid-jsdoc": [0] } } diff --git a/package.json b/package.json index 46f1e7c67..1e475cb72 100644 --- a/package.json +++ b/package.json @@ -56,20 +56,20 @@ } ], "dependencies": { - "bindings": "1.3.0", - "commander": "^2.13.0", - "debug": "^3.1.0", - "nan": "^2.9.2", "@serialport/parser-byte-length": "^1.0.5", "@serialport/parser-cctalk": "^1.0.5", "@serialport/parser-delimiter": "^1.0.5", "@serialport/parser-readline": "^1.0.5", "@serialport/parser-ready": "^1.0.5", "@serialport/parser-regex": "^1.0.5", + "bindings": "1.3.0", + "commander": "^2.13.0", + "debug": "^3.1.0", + "nan": "^2.9.2", "prebuild-install": "^4.0.0", "promirepl": "^1.0.1", - "prompt-list": "^3.1.2", - "safe-buffer": "^5.0.1" + "prompt-list": "^3.2.0", + "safe-buffer": "^5.1.2" }, "devDependencies": { "@reconbot/jsdoc-theme": "^1.0.0", @@ -78,18 +78,16 @@ "chai": "^4.0.2", "chai-subset": "^1.5.0", "conventional-changelog-cli": "^2.0.0", - "eslint": "^4.19.1", - "eslint-config-standard": "^11.0.0", - "eslint-plugin-import": "^2.7.0", + "eslint": "^5.0.0", + "eslint-plugin-import": "^2.13.0", "eslint-plugin-node": "^6.0.1", - "eslint-plugin-promise": "^3.5.0", - "eslint-plugin-standard": "^3.0.1", + "eslint-plugin-promise": "^3.8.0", "istanbul": "^0.4.4", "jsdoc": "^3.5.5", - "mocha": "^5.1.0", - "prebuild": "^7.4.0", + "mocha": "^5.2.0", + "prebuild": "^7.6.0", "proxyquire": "^2.0.0", - "sinon": "^5.0.4" + "sinon": "^6.0.1" }, "engines": { "node": ">=4.0.0" diff --git a/test/initializers/assert.js b/test/initializers/assert.js index dfb32c767..efa3abe5a 100644 --- a/test/initializers/assert.js +++ b/test/initializers/assert.js @@ -1,3 +1,4 @@ +'use strict'; const chai = require('chai'); const chaiSubset = require('chai-subset'); global.assert = chai.assert; diff --git a/test/initializers/test-config.js b/test/initializers/test-config.js index a9b192010..0877d185f 100644 --- a/test/initializers/test-config.js +++ b/test/initializers/test-config.js @@ -1,3 +1,4 @@ +'use strict'; const testConfig = require('../../test-config.json'); global.makeTestFeature = function makeTestFeature(envName) {