Skip to content

Oxlint config references jsx-a11y/no-noninteractive-element-interactions which doesn't exist in bundled oxlint #113

@MeinhartThomas

Description

@MeinhartThomas

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

  1. Run npx react-doctor@latest . --yes --verbose --no-dead-code on any React project
  2. Lint checks fail with the error above
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions