One command scans your codebase and outputs a 0 to 100 health score with actionable diagnostics
3 Stars • MIT License
Unnecessary re-renders, inefficient state management, and missed optimization opportunities
Common React pitfalls and code smells that lead to runtime errors and maintenance nightmares
Unused files, exports, types, and duplicate code that bloats your codebase
Get an instant 0-100 score with detailed breakdown of code quality metrics
Categorized issues: state & effects, performance, architecture, security, accessibility
Specific recommendations and code examples to fix identified issues
Scan your entire codebase with a single command, getting a comprehensive health score and actionable diagnostics
Works seamlessly with Next.js, Vite, and React Native with automatic rule adjustment
Identifies unused files, exports, types, and duplicates to keep your codebase clean
Checks for security vulnerabilities and accessibility issues in your React code
Install skills for coding agents like Claude Code, Cursor, and Codex to prevent bad code
Composite action for CI pipelines with PR comments and score output for build control
Run npx -y react-doctor@latest at your project root to get instant health diagnostics
Receive a comprehensive health score and categorized issues with actionable recommendations
Address the identified problems to improve your code quality and maintainability
Integrate with CI/CD pipelines and AI coding agents to maintain code quality automatically
Automatically adapts to your React ecosystem
Rules automatically adjust based on your project's framework and React version
Configure via react-doctor.config.json or package.json, respects .gitignore and inline comments
Install React Doctor as a skill for your AI coding assistant to catch issues in real-time
Run this command to integrate with your AI coding agent:
npx -y react-doctor@latest install
Use the composite action to automatically check code quality in your pull requests
uses: millionco/react-doctor@latest
with:
diff: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
Automatically posts findings as comments on pull requests
Outputs health score for build control and quality gate
Dedicated configuration file for advanced settings
Configure using the reactDoctor key in your package.json
Use the ESLint flat-config plugin for seamless integration
React Doctor automatically respects:
Install React Doctor and start improving your React codebase today
npx -y react-doctor@latest
Scans your entire codebase and provides health diagnostics
npx -y react-doctor@latest install
Integrates with AI coding assistants to prevent bad code
Join thousands of developers who trust React Doctor for their code quality