Presets
The following presets are available in this plugin:
These presets are for ESLint
LegacyConfig
(.eslintrc.*
) only.- recommended-legacy (
plugin:@eslint-react/recommended-legacy
)
Enforce recommended rules designed to catch common mistakes and prevent potential bugs. - recommended-type-checked-legacy (
plugin:@eslint-react/recommended-type-checked-legacy
)
Same as recommended-legacy but with additional rules that require type information. - debug-legacy (
plugin:@eslint-react/debug-legacy
)
Enable a series of rules that are useful for debugging purposes only.
(Not recommended unless you know what you are doing) - all-legacy (
plugin:@eslint-react/all-legacy
)
Enable all rules in this plugin except for debug rules. - off-legacy (
plugin:@eslint-react/off-legacy
)
Disable all rules in this plugin except for debug rules.