Regular create-react-app has an ESLint config that only ever shows warnings. When we applied the unmodified AirBnB config to the starter app (which only ever shows errors), we created an unintended behavior wherein anything that's even a little bit wrong with our code will cause the app to not render (for example, importing a module and not using it yet because we want to see how some other change looks first).
This commit effectively forces the same kind of behavior that the "normal" create-react-app has, although it only does that in the dev environment.
Regular
create-react-app
has an ESLint config that only ever shows warnings. When we applied the unmodified AirBnB config to the starter app (which only ever shows errors), we created an unintended behavior wherein anything that's even a little bit wrong with our code will cause the app to not render (for example, importing a module and not using it yet because we want to see how some other change looks first).This commit effectively forces the same kind of behavior that the "normal"
create-react-app
has, although it only does that in the dev environment.