aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 18480247785..0e668b676b0 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,8 @@
"postbuild": "npm run sass && npm run sass:icons",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
- "lint": "eslint apps core",
- "lint:fix": "eslint apps core --fix",
+ "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern",
+ "lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",