timarney / react-app-rewired

Override create-react-app webpack configs without ejecting
MIT License
9.81k stars 425 forks source link

.eslintcache constantly generated and create-react-app has fix similar promblem #532

Closed anitakym closed 3 years ago

anitakym commented 3 years ago

when use react-app-rewired, .eslintcache constantly generated(hurdle to debug and should be in node_moules and be ignored)

create-react-app has fixed this problem

they Move ESLint cache file into node_modules

see: https://github.com/facebook/create-react-app/pull/9977

dawnmist commented 3 years ago

That should flow directly through when you update to the new version of react-scripts.

We actually use the definitions provided by react-scripts as the default config. The fix in the referenced pull request was to modify the webpack config - which means that when using react-app-rewired with their modified version of react-scripts you'll get that config modification as part of the default config.

anitakym commented 3 years ago

thx