aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-22 06:35:43 +0200
committerGitHub <[email protected]>2019-02-22 06:35:43 +0200
commit5328d0db0d3ce909dca12b9ded4356da6f5971e4 (patch)
tree153e1a03bf0c6ae90c74e88f931475a9676bfa88
parent423e4a3811cc7278320d45129976f614f21df944 (diff)
downloadbootstrap-5328d0db0d3ce909dca12b9ded4356da6f5971e4.tar.xz
bootstrap-5328d0db0d3ce909dca12b9ded4356da6f5971e4.zip
Add `--continue-on-error` in `npm run lint`. (#28338)
So if one of the two sub-tasks fails, it still completes linting the other one.
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 33aff91a8..d2e023b90 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "node build/build-plugins.js",
"js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
- "js-lint": "npm-run-all --parallel js-lint-*",
+ "js-lint": "npm-run-all --continue-on-error --parallel js-lint-*",
"js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/",
"js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/",
"js-minify": "npm-run-all --parallel js-minify-main js-minify-docs",