Eslint is ignored in the React.js build.
In the text editor (for example, VS Code) the Eslint with the config in package.json
works! But when I build with CI = true
defined in .env
, eslintConfig is not considered and the build fails.
Ps: In this mode, warnings are treated as errors.
I don't want to use EXTEND_ESLINT = true
because this approach doesn't make sense, assuming that this configuration can be done in package.json by default.
question from:
https://stackoverflow.com/questions/65911426/eslint-config-inside-package-json-is-ignored-on-react-js-build 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…