mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-22 00:00:02 +08:00
CB-12895 : added eslint and removed eslint
This commit is contained in:
+9
-3
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user