Update ESLint and fix linting errors
diff --git a/package.json b/package.json
index 1eee113..5ba73e6 100644
--- a/package.json
+++ b/package.json
@@ -39,13 +39,13 @@
"update-notifier": "0.5.0"
},
"devDependencies": {
- "eslint": "^4.0.0",
- "eslint-config-semistandard": "^11.0.0",
- "eslint-config-standard": "^10.2.1",
+ "eslint": "^5.4.0",
+ "eslint-config-semistandard": "^12.0.1",
+ "eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.3.0",
- "eslint-plugin-node": "^5.0.0",
- "eslint-plugin-promise": "^3.5.0",
- "eslint-plugin-standard": "^3.0.1",
+ "eslint-plugin-node": "^7.0.1",
+ "eslint-plugin-promise": "^4.0.0",
+ "eslint-plugin-standard": "^4.0.0",
"istanbul": "^0.4.5",
"jasmine": "^2.5.2",
"rewire": "^2.5.2"
diff --git a/src/cli.js b/src/cli.js
index f24ea01..718b127 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -76,7 +76,7 @@
function checkForUpdates () {
try {
// Checks for available update and returns an instance
- var notifier = updateNotifier({pkg: pkg});
+ var notifier = updateNotifier({ pkg: pkg });
if (notifier.update &&
notifier.update.latest !== pkg.version) {