Oxlint config references jsx-a11y/no-noninteractive-element-interactions which doesn't exist in bundled oxlint
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-codeon any React project - Lint checks fail with the error above
- Score is suppressed
Expected behavior
Lint checks complete and score is shown. Running [email protected] 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
I met the same issue today on a Next 16.1.6 and React 19.2.3 project with OXLint. no-noninteractive-element-interactions doesn't exist in oxlint, the closest rule is no-static-element-interactions: https://oxc.rs/docs/guide/usage/linter/rules.html
+1
Also facing this issue
Environment
- react-doctor v0.0.30
- OS: macOS (Darwin 25.3.0)
- Runtime: pnpm 10.30.3
- React 19.2.0, Vite, TypeScript
Also facing the same issue on v0.0.30. The scan fails to complete due to this unsupported rule, so the score is not shown.
Bump on v0.0.30
bump
bump
Fixed! Will be pushed out in the next patch.