-
-
Notifications
You must be signed in to change notification settings - Fork 27k
EXTEND_ESLINT=true not working #9175
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
Comments
I quote an answer from #9007 :
and if this is your problem, I hope that my proposal #9085 would be accepted, and someone could implement it. |
I have test your example project, with the .eslintrc.json file, you can test the rule with another var name: c, it works well. |
Following the suggestion from @tobiaskraus I added the following line to the scripts section of our "postinstall": "sed \"s/cache: true/cache: false/g\" node_modules/react-scripts/config/webpack.config.js -i", This resolved the issue such that our custom |
A cross-plattform solution might be to use the "patch-package" tool that can run as a postinstall-script and can patch files in node_modules. That's the approach we choose when we encountered this issue. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
From our point of view, the issue is still present. |
I think there is another env key is needed to disable cache besides |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Will check on it in the new year... |
Can you try the latest release and see if this has improved? If not please open a new issue. |
Describe the bug
Actually it re-opens #9047
I created .env file in root directory with EXTEND_ESLINT=true
then created .eslintrc.json file with my config for eslint
but while running npm start this config doesn't work!
Did you try recovering your dependencies?
(Write your answer here.)
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Environment
(paste the output of the command here.)
Steps to reproduce
const a= '';
Expected behavior
Expect it will consider rules from .eslintrc.json and fail to build app.
Actual behavior
Ignoring rules from .eslintrc.json
Reproducible demo
https://github.com/Barik85/reproduce_issue_eslintrc
The text was updated successfully, but these errors were encountered: