Presets
The following presets are available in this plugin:
These presets are for ESLint Flat Config (eslint.config.js
) only.
- core
Enable rules that are renderer-agnostic. - dom
Enable rules that are specific to React DOM. - web-api
Enable rules for interacting with Web APIs. - recommended
Enable rules that are recommended by ESLint React.
This preset includes thecore
,dom
, andweb-api
presets. - recommended-type-checked
Enable rules that are recommended by ESLint React with additional rules that require type information.
This preset includes therecommended
preset. - disable-dom
Disable rules that are specific to React DOM. - disable-web-api
Disable rules for interacting with Web APIs. - disable-type-checked
Disable rules that require type information. - off
Disable all rules in this plugin except for debug rules.