0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

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.
This commit is contained in:
XhmikosR 2019-02-22 06:35:43 +02:00
parent 3b6c5ee620
commit 11c40217cf

View File

@ -49,7 +49,7 @@
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "node build/build-plugins.js", "js-compile-plugins": "node build/build-plugins.js",
"js-compile-plugins-coverage": "cross-env NODE_ENV=test 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-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/",
"js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/", "js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/",
"js-minify": "npm-run-all --parallel js-minify-main js-minify-docs", "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs",