An ESLint plugin that provides debugging-related rules for React, part of the eslint-react monorepo. Current stable version is 4.2.3, but the latest releases are beta versions (5.5.1-beta.0 as of April 2026). It requires ESLint ^10.0.0 and TypeScript, and Node.js >=22.0.0. The plugin ships TypeScript types and is designed to help debug React components, focusing on rules that catch common mistakes and anti-patterns during development. It differentiates from other React ESLint plugins by being specifically tailored for debugging scenarios within the eslint-react ecosystem.
npm install eslint-plugin-react-debugVerified import paths — ran on the pinned version, not inferred.
Configures ESLint with eslint-plugin-react-debug and eslint-plugin-react-x, enabling debugging and React X rules for TypeScript/TSX files.
Update Node.js to version 22 or higher.
Update ESLint to version 10.0.0 or higher.
Use import statement instead of require().
Migrate to v5 beta once stable or stay on v4.
Run 'npm install eslint-plugin-react-debug --save-dev' or verify import path.
Ensure plugins are provided as an object with plugin names as keys, e.g., 'plugins: { "react-debug": debugPlugin }'.Check the available rules list in the plugin's documentation or refer to configurations.