Replies: 4 comments
|
Bump, we are also facing this issue... How do we get some info on this? |
0 replies
|
I'm having the same issue. I need to be able to dev with "eslint errors" without being blocked. |
0 replies
|
I cross-posted on SO too (https://stackoverflow.com/questions/64654934/how-to-avoid-build-failure-from-eslint-violations-with-react-scripts-create-reac), but no activity there as well. For now, I've set rules to |
0 replies
|
I created repo that reproduces the issue: #10062 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I created a fresh project using CRA, and then added a custom eslint config with a single rule,
no-consoleand set it to error log level.When running
yarn startto do development, and putting in a console log, the whole build fails and I get a generic error page saying the build failed because there was a console log. But, I put the log there to debug the app, and this isn't a production build.I also tried seeing if this could be related to custom eslint configs so I violated the
rule-of-hooksrule that is default with CRA and saw the same thing happen.How can I develop with a linting error present?
All reactions