Presets
The following presets are available in @eslint-react/eslint-plugin:
Bare Bones
- x
 Enable rules for- "react".
- dom
 Enable rules for- "react-dom".
- web-api
 Enable rules for interacting with Web APIs.
General Purpose
- recommended
 Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects.
 This preset includes the- x,- dom, and- web-apipresets.
TypeScript Specialized
- 
recommended-typescript
 Same as therecommendedpreset but disables rules that can be enforced by TypeScript.
- 
recommended-type-checked
 Same as therecommended-typescriptpreset but enables additional rules that require type information.
Combined
- no-deprecated
 Enable all non-deprecated rules from the- x,- dom, and- web-apipresets.
 This preset sets the severity of these rules to- "error".
Other
- disable-dom
 Disable rules in the- dompreset.
- disable-web-api
 Disable rules in the- web-apipreset.
- disable-type-checked
 Disable rules that require type information.
- disable-conflict-eslint-plugin-react
 Disable rules in- eslint-plugin-reactthat conflict with rules in our plugins.
- off
 Disable all rules in this plugin except for debug rules.