Skip to content

Message "Definition for rule 'jsx-a11y/anchor-is-valid' was not found" in React App #1044

Open
@rabidkitten

Description

@rabidkitten

I am receiving the following message in my running React app "Definition for rule 'jsx-a11y/anchor-is-valid' was not found." I've tried to follow the instructions, but I've been racking my brain trying to figure this out. Here is my package.json (or part of it), which currently includes the config:

"devDependencies": {
    "eslint": "^8.0.0",
    "eslint-config-airbnb": "19.0.4",
    "eslint-config-react-app": "^7.0.1",
    "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
    "cspell": "^8.17.1",
    "eslint-plugin-jsx-a11y": "^6.10.2"
  },
  "eslintConfig": {
    "plugins": ["jsx-a11y"],
    "extends": [
      "airbnb",
      "react-app",
      "react-app/jest",
      "plugin:jsx-a11y/recommended"
    ],
    "ignorePatterns": [
      "setupTests.js",
      "reportWebVitals.js"
    ]
  },

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