CB-12895 : setup eslint and remove jshint
diff --git a/.eslintrc.yml b/.eslintrc.yml
new file mode 100644
index 0000000..f6aae32
--- /dev/null
+++ b/.eslintrc.yml
@@ -0,0 +1,10 @@
+root: true
+extends: semistandard
+rules:
+  indent:
+    - error
+    - 4
+  camelcase: off
+  padded-blocks: off
+  operator-linebreak: off
+  no-throw-literal: off
diff --git a/package.json b/package.json
index 631fd48..35a069f 100644
--- a/package.json
+++ b/package.json
@@ -1,72 +1,78 @@
 {
-    "author": "Andrew Lunny <alunny@gmail.com>",
-    "name": "plugman",
-    "description": "install/uninstall Cordova plugins",
-    "version": "1.5.1-dev",
-    "repository": {
-        "type": "git",
-        "url": "git://git-wip-us.apache.org/repos/asf/cordova-plugman.git"
+  "author": "Andrew Lunny <alunny@gmail.com>",
+  "name": "plugman",
+  "description": "install/uninstall Cordova plugins",
+  "version": "1.5.1-dev",
+  "repository": {
+    "type": "git",
+    "url": "git://git-wip-us.apache.org/repos/asf/cordova-plugman.git"
+  },
+  "bugs": {
+    "url": "https://issues.apache.org/jira/browse/CB",
+    "email": "dev@cordova.apache.org"
+  },
+  "main": "plugman.js",
+  "engines": {
+    "node": ">=0.9.9"
+  },
+  "engineStrict": true,
+  "dependencies": {
+    "cordova-lib": "7.0.0",
+    "nopt": "1.0.9",
+    "q": "1.0.1"
+  },
+  "devDependencies": {
+    "eslint": "^4.2.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",
+    "jasmine-node": "1.14.5"
+  },
+  "bin": {
+    "plugman": "./main.js"
+  },
+  "scripts": {
+    "test": "npm run jasmine && npm run eslint",
+    "eslint": "node node_modules/eslint/bin/eslint src",
+    "jasmine": "jasmine-node --captureExceptions --color spec"
+  },
+  "license": "Apache-2.0",
+  "contributors": [
+    {
+      "name": "Anis Kadri"
     },
-    "bugs": {
-        "url": "https://issues.apache.org/jira/browse/CB",
-        "email": "dev@cordova.apache.org"
+    {
+      "name": "Tim Kim"
     },
-    "main": "plugman.js",
-    "engines": {
-        "node": ">=0.9.9"
+    {
+      "name": "Braden Shepherdson"
     },
-    "engineStrict": true,
-    "dependencies": {
-        "cordova-lib": "7.0.0",
-        "nopt": "1.0.9",
-        "q": "1.0.1"
+    {
+      "name": "Ryan Willoughby"
     },
-    "devDependencies": {
-        "jshint": "2.5.8",
-        "jasmine-node": "1.14.5"
+    {
+      "name": "Brett Rudd"
     },
-    "bin": {
-        "plugman": "./main.js"
+    {
+      "name": "Mike Reinstein"
     },
-    "scripts": {
-        "test": "npm run jasmine && npm run jshint",
-        "jshint": "node node_modules/jshint/bin/jshint src",
-        "jasmine": "jasmine-node --captureExceptions --color spec"
+    {
+      "name": "Shazron Abdullah"
     },
-    "license": "Apache-2.0",
-    "contributors": [
-        {
-            "name": "Anis Kadri"
-        },
-        {
-            "name": "Tim Kim"
-        },
-        {
-            "name": "Braden Shepherdson"
-        },
-        {
-            "name": "Ryan Willoughby"
-        },
-        {
-            "name": "Brett Rudd"
-        },
-        {
-            "name": "Mike Reinstein"
-        },
-        {
-            "name": "Shazron Abdullah"
-        },
-        {
-            "name": "Steve Gill"
-        },
-        {
-            "name": "Fil Maj"
-        },
-        {
-            "name": "Michael Brooks"
-        },
-        {
-            "name": "Jesse MacFadyen"
-        }
-    ]
+    {
+      "name": "Steve Gill"
+    },
+    {
+      "name": "Fil Maj"
+    },
+    {
+      "name": "Michael Brooks"
+    },
+    {
+      "name": "Jesse MacFadyen"
+    }
+  ]
 }
diff --git a/src/help.js b/src/help.js
index 1d24d85..f2233b5 100644
--- a/src/help.js
+++ b/src/help.js
@@ -16,10 +16,11 @@
     specific language governing permissions and limitations
     under the License.
 */
-var fs = require('fs'),
-    path = require('path');
+
+var fs = require('fs');
+var path = require('path');
 var doc_txt = path.join(__dirname, '..', 'doc', 'help.txt');
 
-module.exports = function help() {
+module.exports = function help () {
     return fs.readFileSync(doc_txt, 'utf-8');
 };