Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Commit 43b98c0

Browse files
author
Christopher J. Brody
committed
eslint check other test subdirectories
1 parent 97ea92f commit 43b98c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
"jasmine-tests": "jasmine tests/spec/create.spec.js tests/spec/platform.spec.js",
2222
"eslint:bin": "node node_modules/eslint/bin/eslint bin",
2323
"eslint:spec": "node node_modules/eslint/bin/eslint tests/spec",
24-
"eslint": "npm-run-all eslint:bin eslint:spec"
24+
"eslint:cdvlibtests": "eslint tests/CordovaLibTests --rule 'space-before-function-paren:off' --rule 'indent:off' --rule 'comma-spacing:off' --rule 'key-spacing:off' --rule 'no-unused-vars:off' --rule 'no-multiple-empty-lines:off' --rule 'no-undef:off' --rule 'quotes:off' --rule 'space-infix-ops:off' --rule 'one-var:off' --rule 'semi:off'",
25+
"eslint:cdvtestwww": "eslint --rule 'space-before-function-paren:off' --rule 'eol-last:off' tests/cdv-test-project/www",
26+
"eslint:tests": "npm-run-all eslint:spec eslint:cdvlibtests eslint:cdvtestwww",
27+
"eslint": "npm-run-all eslint:bin eslint:tests"
2528
},
2629
"author": "Apache Software Foundation",
2730
"license": "Apache-2.0",

0 commit comments

Comments
 (0)