Skip to content

[Replacement]: eslint-plugin-jsx-a11y #661

@connorshea

Description

@connorshea

Package to replace

eslint-plugin-jsx-a11y

Suggested replacement(s)

  • eslint-plugin-jsx-a11y-x, has many fewer dependencies and properly, fully supports ESLint v10 / flat config
  • oxlint, which is a linter written in Rust and supports every jsx-a11y rule (except the deprecated one). It's much faster and also has fewer dependencies.

Obligatory disclaimer: I'm on the oxlint core team

Manifest type

preferred (lighter or more modern alternative package)

Rationale

  • The package supports very old versions of ESLint/Node for no good reason and therefore has far, far more dependencies than it needs.
  • Both alternative packages have fewer dependencies, and Oxlint is also considerably faster to run, especially on larger projects.

Availability

No response

Code example (optional)

For jsx-a11y-x my understanding is that it should be basically a drop-in replacement if you want to continue using ESLint, just update `jsx-a11y` to `jsx-a11y-x` where necessary: https://github.com/es-tooling/eslint-plugin-jsx-a11y-x#installation

https://github.com/oxc-project/oxlint-migrate for migrating to oxlint

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions