Then create a file named .eslintrc.json with following contents in the root folder of your project:
{ "extends": "react-app"}
That's it! You can override the settings from eslint-config-react-app by editing the .eslintrc.json file. Learn more about configuring ESLint on the ESLint website.
Jest rules
This config also ships with optional Jest rules for ESLint (based on eslint-plugin-jest).
You can enable these rules by adding the Jest config to the extends array in your ESLint config.
However, if you are using Create React App and have not ejected, any additional rules will only be displayed in the IDE integrations, but not in the browser or the terminal.