Skip to content

fix#210

Closed
aidenybai wants to merge 8 commits into
mainfrom
improve-v2
Closed

fix#210
aidenybai wants to merge 8 commits into
mainfrom
improve-v2

Conversation

@aidenybai
Copy link
Copy Markdown
Member

@aidenybai aidenybai commented May 12, 2026

Note

Medium Risk
Large new, end-to-end implementation (CLI + config loading + git diff file filtering + native codebase graph analysis + oxlint integration) that can impact correctness/performance and CI behavior, but it is introduced as a new isolated package.

Overview
Introduces a new react-doctor-v2 package that scaffolds the v2 rewrite, including a react-doctor CLI entrypoint and typed SDK exports.

Adds config discovery/validation (react-doctor.config.json / package.json#reactDoctor), richer error types, scoring + JSON reporting, and issue filtering (ignore rules/files/overrides, inline disables, and React Native raw-text suppressions).

Implements native codebase analysis (workspace discovery, source/entrypoint discovery, AST import/export extraction, and module graph construction with reachability/reference tracking) and wires it into project inspection alongside an oxlint runner, with CLI support for changed-file modes via git (--staged/--unstaged/--changed/--diff) and --fail-on exit behavior.

Reviewed by Cursor Bugbot for commit 751bbd2. Bugbot is set up for automated code reviews on this repo. Configure here.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants