]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `--continue-on-error` in `npm run lint`. (#28338)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 22 Feb 2019 04:35:43 +0000 (06:35 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 7 Mar 2019 22:29:21 +0000 (00:29 +0200)
So if one of the two sub-tasks fails, it still completes linting the other one.

package.json

index 65c64cea8a6fab27ca3e54c830a034519caaebbc..9f81e3ae1f9d926a023f23cde0657ac8263434ac 100644 (file)
@@ -49,7 +49,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",