Presets
Overview

Presets

The following presets are available in this plugin:

These presets are for ESLint FlatConfig (eslint.config.js) only.

  • recommended
    Enable rules that are recommended by ESLint React.
  • recommended-type-checked
    Enable rules that are recommended by ESLint React with additional rules that require type information.
  • dom
    Enable rules that are specific to React DOM.
  • off-dom
    Disable rules that are specific to React DOM.
  • off
    Disable all rules in this plugin except for debug rules.