Skip to content

Bug: jsx-a11y throws linting errors ("Definition for rule '[rule]' was not found") for all rules  #1

Description

@dominicchapman

When including plugin:@tambium/react, jsx-a11y (used within our react plugin) causes linting errors of the following form at the start of all files being linted:

Definition for rule 'accessible-emoji' was not found

This is thrown for every rule we include in lib/config/rules/jsx-a11y and shows up in a number of issues on the repository for the jsx-a11y plugin – for example, here.

The suggestion in all cases seems to be use of npm ls to identify which dependencies are missing but I’m not convinced this is suitable for this repository given that we use yarn workspaces.

For the meantime, I have removed the rules but this should be revisited to provide guidance on accessibility in projects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions