Improve ESLint script

It now lints all files in one go and lints a few extra files.
This commit is contained in:
Raphael von der Grün 2018-05-19 23:08:24 +02:00
parent 59e3b907e9
commit 5dc179ebef
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1,2 @@
bin/templates/project/assets/www/cordova.js
bin/templates/project/assets/www/cordova.js
test/app

View File

@ -24,7 +24,7 @@
"cover": "istanbul cover --root bin --print detail jasmine -- --config=spec/unit/jasmine.json",
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
"java-unit-tests": "cd test && node run_java_unit_tests.js && cd ..",
"eslint": "eslint bin && eslint spec"
"eslint": "eslint bin spec test"
},
"author": "Apache Software Foundation",
"license": "Apache-2.0",