Spotify's ESLint config for react.
yarn add --dev @spotify/eslint-config-react eslint eslint-plugin-react eslint-plugin-jsx-a11y
After installing, update your project's .eslintrc.json
file to import the rule sets you want:
{
"extends" : [
"@spotify/eslint-config-react"
]
}
Read the ESlint config docs for more information.