mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
refactor (eslint): use cordova-eslint (#910)
This commit is contained in:
+3
-9
@@ -19,12 +19,12 @@
|
||||
"apache"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "npm run eslint && npm run cover && npm run java-unit-tests",
|
||||
"test": "npm run lint && npm run cover && npm run java-unit-tests",
|
||||
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
|
||||
"cover": "nyc jasmine --config=spec/coverage.json",
|
||||
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
|
||||
"java-unit-tests": "node test/run_java_unit_tests.js",
|
||||
"eslint": "eslint . \"bin/**/!(*.*|gitignore)\"",
|
||||
"lint": "eslint . \"bin/**/!(*.*|gitignore)\"",
|
||||
"clean-tests": "node bin/clean_test.js"
|
||||
},
|
||||
"author": "Apache Software Foundation",
|
||||
@@ -40,13 +40,7 @@
|
||||
"which": "^1.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^5.12.0",
|
||||
"eslint-config-semistandard": "^13.0.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
"eslint-plugin-node": "^8.0.1",
|
||||
"eslint-plugin-promise": "^4.0.1",
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
"@cordova/eslint-config": "^2.0.0",
|
||||
"jasmine": "^3.5.0",
|
||||
"jasmine-spec-reporter": "^4.2.1",
|
||||
"nyc": "^14.1.1",
|
||||
|
||||
Reference in New Issue
Block a user