You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2018/08/30 18:35:54 UTC
[cordova-cli] 01/03: Update ESLint and fix linting errors
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-cli.git
commit 91d43d72cbe0aad597012e10085da98c3c42c290
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Thu Aug 30 15:55:49 2018 +0200
Update ESLint and fix linting errors
---
package.json | 12 ++++++------
src/cli.js | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
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 @@ var shortHands = {
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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org