CB-12895 : added eslint and removed eslint

This commit is contained in:
Audrey So
2017-06-12 11:15:35 -07:00
parent f9643daba0
commit 78691e43e1
11 changed files with 174 additions and 183 deletions
+9 -3
View File
@@ -46,8 +46,8 @@
"cordova-browser"
],
"scripts": {
"test": "npm run jshint",
"jshint": "jshint www && jshint src && jshint tests"
"test": "npm run eslint",
"eslint": "eslint www && eslint src && eslint tests"
},
"author": "Apache Software Foundation",
"license": "Apache-2.0",
@@ -59,6 +59,12 @@
}
},
"devDependencies": {
"jshint": "^2.6.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"
}
}