Starting around v0.0.26+, react-doctor fails to complete lint checks due to the hardcoded
oxlint config referencing a rule that doesn't exist in the bundled oxlint version:
✖ Lint checks failed (non-fatal, skipping).
Failed to parse oxlint output: Failed to parse oxlint configuration file.
x Rule 'no-noninteractive-element-interactions' not found in plugin 'jsx_a11y'
This causes "Score not shown — some checks could not complete" even on clean codebases.
Steps to reproduce
- Run
npx react-doctor@latest . --yes --verbose --no-dead-code on any React project
- Lint checks fail with the error above
- Score is suppressed
Expected behavior
Lint checks complete and score is shown. Running react-doctor@0.0.25 on the same project
scores 100/100 (the error still occurs but doesn't suppress the score).
Root cause
jsx-a11y/no-noninteractive-element-interactions is listed in createOxlintConfig() in
cli.js, but the bundled oxlint binary doesn't support this rule yet.
Environment
- react-doctor: 0.0.28, 0.0.29, 0.0.30 (all affected)
- OS: macOS
- Runtime: Bun 1.3.11
- Framework: Vite + React Router v7 + React 19