eslint-plugin-react-doctor weekly downloads statistics
By millionco · npm · ESLint plugins
React Doctor rules for ESLint.
eslint-plugin-react-doctor has 162,520 recorded weekly downloads on npm, an increase of 62.3% over the past 30 days, ranking #562 of 3,247 tracked listings.
About eslint-plugin-react-doctor
eslint-plugin-react-doctor
ESLint plugin for React Doctor. Diagnoses React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues.
The set now includes 100 rules ported from
oxc-project/oxc's React +
jsx-a11y linting plugins, exposed alongside React Doctor's own rules
under the react-doctor/* namespace.
This package owns the ESLint adapter for React Doctor's rule set. The underlying rules ship in oxlint-plugin-react-doctor (auto-installed as a transitive dependency). The full diagnostic CLI lives in react-doctor and pulls in this same rule set; install whichever fits your workflow.
Install
npm install --save-dev eslint-plugin-react-doctor
pnpm add -D eslint-plugin-react-doctor
yarn add -D eslint-plugin-react-doctor
Usage
Flat config (ESLint v9+):
import reactDoctor from "eslint-plugin-react-doctor";
export default [
reactDoctor.configs.recommended,
reactDoctor.configs.next,
reactDoctor.configs["react-native"],
reactDoctor.configs["tanstack-start"],
reactDoctor.configs["tanstack-query"],
];
Pick only the configs that match your stack. recommended is framework-agnostic; the others layer on framework-specific rules.
If React Compiler is enabled, declare that capability once so React Doctor can disable compiler-redundant manual-memoization rules:
export default [
reactDoctor.configs.recommended,
reactDoctor.configs["react-native"],
{
settings: {
"react-doctor": {
capabilities: ["react-compiler"],
},
},
},
];
React Doctor's CLI discovers this automatically. ESLint flat configs are static, so standalone ESLint users declare the capability explicitly.
Available configs
| Config | What it adds |
|---|---|
recommended | Framework-agnostic React rules. Safe baseline. |
next | Next.js specific rules (App Router, server components, etc.). |
react-native | React Native specific rules. |
tanstack-start | TanStack Start specific rules. |
tanstack-query | TanStack Query specific rules. |
all | Every rule across every framework, at recommended severity. |
Available rules
The full rule list lives in rule-registry.ts. Rules are namespaced under react-doctor/*.
To override a rule:
import reactDoctor from "eslint-plugin-react-doctor";
export default [
reactDoctor.configs.recommended,
{
rules: {
"react-doctor/no-fetch-in-effect": "error",
"react-doctor/no-derived-state-effect": "off",
},
},
];
Want the CLI too?
This package only ships the ESLint plugin. To run React Doctor's full scan (with scoring, JSON reports, agent integration, etc.), use the main CLI:
npx react-doctor@latest
See the React Doctor README for the full feature set.
License
MIT
Description from the npm listing.
- accessibility
- eslint
- eslint-plugin
- eslintplugin
- linter
- nextjs
- performance
- react
- react-compiler
- react-native
- security
- tanstack
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-react-doctor alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-react-doctor. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.