logo

ESLint React

Welcome to the ESLint React documentation.

A series of composable ESLint rules for libraries and frameworks that use React as a UI runtime.

Features

  • Universal rules for libraries and frameworks that use React as a UI runtime.
  • Well designed rule behaviors and sensible defaults.
  • Maximum flexibility through minimum configuration options.

Public packages

All-in-one packages

Individual packages (will be available in 2.0)

  • eslint-plugin-react-x - Core rules (DOM Irrelevant, Render Target Agnostic, Formatting Independent).
  • eslint-plugin-react-dom - DOM specific rules for React DOM.
  • eslint-plugin-react-hooks-extra - Extra React Hooks rules.
  • eslint-plugin-react-naming-convention - Naming convention rules.