-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint-webpack-plugin failing the build despite having failOnError set to false #51
Comments
Seeing the same thing - failures even with explicit |
On the same bote. As a side note, using NextJS, might have something to do with it. |
Same issue with Styleguidist |
Hi @wojciechpolak |
The issues comes down to the webpack |
Expected Behavior
Show all ESLint errors and warnings, but do not fail the build process. Build should be successful no matter what linting errors are presented.
Actual Behavior
Despite having failOnError set to false, the build is always failing.
Code
Failure:
I'm also trying an alternative config and it doesn't fail, but it also doesn't show any error or warning:
Additionally, setting Webpack's
noEmitOnErrors
to false doesn't affect the build failure:I also must keep
.eslintrc
configuring rules aserror
and notwarn
for IDE reporting.In summary, no matter what config I set, the linting errors are visible and the build is failing (unacceptable) or the build is successful, but nothing about the errors is visible, so at this point the plugin is useless in my case.
The text was updated successfully, but these errors were encountered: