What is the reason to ignore eslintrc file and use only eslint-config-react-app?
Because we show linting errors very prominently in the terminal and browser console. If we interpreted .eslintrc, people would use some popular configs that are mostly focused on style, and are very noisy. As a result people learning React from such examples would have a very hard time digging through the noise and missing the real errors.
Instead, we decided that we only use ESLint for finding actual mistakes. That鈥檚 what our config is about. If you want to enforce style, you can use Prettier which does this automatically.
I hope this helps!
Ok, I understand. Do you plan to add an option for it? Maybe something like this:
create-react-app my-app --eslint-version my-eslint-config-react-app-fork
Most helpful comment
Ok, I understand. Do you plan to add an option for it? Maybe something like this:
create-react-app my-app --eslint-version my-eslint-config-react-app-fork