After update to 4.0 lint errors are blocking the rendering
Created by: Poyoman39
Describe the bug
With CRA 3.x lint errors where reported as warning in the console. Now it is blocking the rendering :
Expected behaviour
I would like to have by default the old behaviour (warning in console), or at least a way to switch back to this old behaviour
Edit:
@unframework give bellow a nice analysis about this issue: https://github.com/facebook/create-react-app/issues/9887#issuecomment-720902192_
Solutions & workarounds
- Implement a way to disable eslint in CRA builds/dev (env variables ...)
- Use two eslint config files. One for text editor, and one for React.
- Clean your code or change severity of eslint rules in your eslintrc file. (change them to warning for instance)