Build keeps failing due to ESLint errors even with ESLint disabled Follow
Text in the build console:
> env-cmd -f .env.test-ax-TEST-SECURE react-scripts build
Creating an optimized production build...
Failed to compile.
Line 13:14: Empty block statement no-empty
Line 79:16: Unreachable code no-unreachable
Please sign in to leave a comment.
react-scriptswork, your build configuration is out of the IDE control.
To disable ESLint during building, you need using the
DISABLE_ESLINT_PLUGINenvironment variable (see https://create-react-app.dev/docs/advanced-configuration). For example, in
Or in your package.json: