Skip to content

Refactor repo-wide cleanup findings#980

Draft
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/codebase-architecture-elegance-0f8d
Draft

Refactor repo-wide cleanup findings#980
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/codebase-architecture-elegance-0f8d

Conversation

@cursor

@cursor cursor Bot commented Jun 27, 2026

Copy link
Copy Markdown

Summary

  • scope git-backed source-file enumeration to the requested scan root and add a monorepo subproject regression test
  • remove stale/dead cleanup artifacts: orphaned node-import codemod and unused dead-code test scaffolding
  • align public docs/demo surfaces with current behavior: deslop-powered dead-code docs, current rule keys, shipped rule-explain skill, and score labels
  • suppress rendering for JSON-mode scan options to avoid silent render work

Product brief

Job: developers and coding agents rely on existing React Doctor docs, demos, and CLI output to know what the tool actually scans and reports.
Change: correct stale existing surfaces and internal cleanup without adding any new flag, schema field, score algorithm, action input, or package API.
Reuse: reused canonical rule-registry keys, existing score label vocabulary, and existing source-file enumeration helpers.
Metric: no new telemetry was added because this does not introduce a new surface; existing scan/CI retention metrics remain the relevant health signal.
Compat: no JSON/action/API shape changes; no changeset or action tag required.
Kill: not applicable for stale-surface corrections; the removal was limited to an unreferenced maintainer codemod.

Verification

  • pnpm test
  • pnpm typecheck
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm lint
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm format:check
  • pnpm smoke:json-report
  • npx deslop-cli@latest /workspace --json (summarized fixture-heavy output)
Open in Web View Automation 

cursoragent and others added 2 commits June 27, 2026 16:12
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/rde parity

View PR

Open in Web View Automation 

Sent by Cursor Automation: React Doctor Cleanup

@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit bc067ad.

@pkg-pr-new

pkg-pr-new Bot commented Jun 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/eslint-plugin-react-doctor@980
npm i https://pkg.pr.new/oxlint-plugin-react-doctor@980
npm i https://pkg.pr.new/react-doctor@980

commit: bc067ad

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
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.

1 participant