Redo change to eslint instead of jshint
Project: http://git-wip-us.apache.org/repos/asf/cordova-serve/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-serve/commit/cef6a945 Tree: http://git-wip-us.apache.org/repos/asf/cordova-serve/tree/cef6a945 Diff: http://git-wip-us.apache.org/repos/asf/cordova-serve/diff/cef6a945 Branch: refs/heads/master Commit: cef6a94592629f8e49ab428e868e795727c20c00 Parents: 5bd008b Author: Jesse MacFadyen <[email protected]> Authored: Sat Aug 12 01:00:46 2017 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Sat Aug 12 01:00:46 2017 -0700 ---------------------------------------------------------------------- package.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-serve/blob/cef6a945/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 7df53cd..9e7f29d 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "src/main.js", "scripts": { "jasmine": "jasmine JASMINE_CONFIG_PATH=spec/jasmine.json", - "jshint": "node node_modules/jshint/bin/jshint src", - "test": "npm run jshint && npm run jasmine" + "eslint": "node node_modules/eslint/bin/eslint ./src", + "test": "npm run eslint && npm run jasmine" }, "repository": { "type": "git", @@ -32,7 +32,13 @@ }, "devDependencies": { "jasmine": "^2.5.2", - "jshint": "^2.8.0", + "eslint": "^4.0.0", + "eslint-config-semistandard": "^11.0.0", + "eslint-config-standard": "^10.2.1", + "eslint-plugin-import": "^2.3.0", + "eslint-plugin-node": "^5.0.0", + "eslint-plugin-promise": "^3.5.0", + "eslint-plugin-standard": "^3.0.1", "rewire": "^2.5.2" }, "engines": { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
