Simplify rule set exports
Summary
- Consolidate React Doctor framework rule maps and adopted external rule maps into
oxlint-plugin-react-doctor/src/rules.ts. - Replace the old split rule modules with clear named exports for external consumers.
- Update core oxlint config and ESLint plugin configs to import the named rule maps directly.
Test plan
nr typechecknr lintnr format:checknr test
[!NOTE] Medium Risk Primarily a refactor of rule-map exports, but it changes the public API consumed by
coreand the ESLint plugin and could unintentionally alter which rules/severities land inrecommended/allconfigs.Overview Consolidates React Doctor rule-set and external rule-map exports into a single
oxlint-plugin-react-doctormodule (rules.ts), removing the older split (rules-by-framework.tsandexternal-plugin-rulesexport).Updates
core’s oxlint config generator andeslint-plugin-react-doctorto import the new named exports (RECOMMENDED_RULES,ALL_REACT_DOCTOR_RULES,BUILTIN_*, etc.), and adjusts ESLint flat configs sorecommended/docs metadata are based onRECOMMENDED_RULESandallusesALL_REACT_DOCTOR_RULES.Reviewed by Cursor Bugbot for commit f815eba9461dbf0d4780a3d9c3ecb341bf86c3c9. Bugbot is set up for automated code reviews on this repo. Configure here.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| react-doctor-website | Preview, Comment | May 17, 2026 2:51am |
🔴 React Review — 0/100 (unchanged) · No new issues
Reviewed by react-review for commit 37ddd58df6d4efb44833e67299e708bbd2e30deb. Configure here.