You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2018/05/08 18:21:47 UTC
[cordova-common] 01/02: Lint sources and specs in one go
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-common.git
commit a91b5bca42d4d04ac3bb3c7a06267aa3a162801a
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Fri May 4 10:26:18 2018 +0200
Lint sources and specs in one go
Before this change, linting errors in the specs would only be reported
after fixing any linting errors in the sources and running the linter
for a second time.
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index cd0d53b..7e0b096 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
},
"scripts": {
"test": "npm run eslint && npm run jasmine",
- "eslint": "eslint src && eslint spec",
+ "eslint": "eslint src spec",
"jasmine": "jasmine JASMINE_CONFIG_PATH=spec/support/jasmine.json",
"cover": "istanbul cover --root src --print detail jasmine"
},
--
To stop receiving notification emails like this one, please contact
dpogue@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org