Skip to content

Refactor dependency discovery cleanup#877

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

Refactor dependency discovery cleanup#877
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/codebase-architecture-elegance-6715

Conversation

@cursor

@cursor cursor Bot commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • Harden dependency/version readers against malformed non-string package specs
  • Reuse a shared workspace dependency spec finder across Expo, Next.js, and FlashList detection
  • Remove small oxlint-plugin dead exports/duplicate helpers identified by deslop/reviewer pass

Verification

  • pnpm lint (Node 22.18.0)
  • pnpm format:check (Node 22.18.0)
  • pnpm typecheck (Node 22.18.0)
  • pnpm --filter @react-doctor/core test
  • pnpm --filter oxlint-plugin-react-doctor test
Open in Web View Automation 

cursoragent and others added 3 commits June 18, 2026 17:06
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
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

@pkg-pr-new

pkg-pr-new Bot commented Jun 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: f34b722

@github-actions

Copy link
Copy Markdown
Contributor

No React Doctor issues found. 🎉

Reviewed by React Doctor for commit f34b722.

@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.

Cleanup pass completed.

Summary:

  • Hardened dependency/version readers against malformed non-string package specs.
  • Reused one workspace dependency spec finder for Expo, Next.js, and FlashList detection.
  • Removed small oxlint-plugin cleanup targets from the deslop/reviewer pass: duplicate import, dead constant export, unnecessary Expo managed set export, and a redundant semantic helper parameter.

Verification:

  • Local: pnpm lint, pnpm format:check, pnpm typecheck, pnpm --filter @react-doctor/core test, pnpm --filter oxlint-plugin-react-doctor test under Node 22.18.0.
  • PR: all visible CI, Code Quality, CodeQL, React Doctor, and Publish Any Commit checks are green.

Notes:

  • Posted /rde parity via the available PR review channel. No separate RDE result or Bugbot feedback appeared during the polling window.
  • truffler could not run in this environment because its binary requires bun; I used targeted repo searches plus deslop-cli output instead.

View PR

Open in Web View Automation 

Sent by Cursor Automation: React Doctor Cleanup

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