summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 6ff6e7d..10c307f 100644
--- a/index.js
+++ b/index.js
@@ -125,6 +125,7 @@ export const makeConfig = (env, argv, options) => {
config: styleLintConfig,
}),
new EsLintPlugin({
+ failOnError: !isWatch,
overrideConfig: {
rules: {
"no-console": isProd ? 2 : 1,