From 5dc179ebef1d507883d1965f1384856b893ab4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphael=20von=20der=20Gr=C3=BCn?= Date: Sat, 19 May 2018 23:08:24 +0200 Subject: [PATCH] Improve ESLint script It now lints all files in one go and lints a few extra files. --- .eslintignore | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 5027e1be..0d61c6cc 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ -bin/templates/project/assets/www/cordova.js \ No newline at end of file +bin/templates/project/assets/www/cordova.js +test/app diff --git a/package.json b/package.json index bbd12589..ba3d01b2 100644 --- a/package.json +++ b/package.json @@ -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",