Fixable React ESLint config
@monorepo-template/eslint-config-react-fixable
is an ESLint configuration
comprised solely of fixable React rules, minus any rules that conflict with
eslint-plugin-prettier
. As a result, no manual effort is required to adhere to
this configuration's rules.
It is recommended that you use this rule in tandem with
plugin:prettier/recommended
.
Install
yarn add --dev "@monorepo-template/eslint-config-react-fixable" eslint-plugin-react
Use
Merge the following ESLint configuration into your .eslintrc.json
file:
{
"extends": ["@monorepo-template/react-fixable"]
}
If you are using other configurations outside of the @monorepo-template
scope,
this should come after those configurations in the extends
array.