Open
Description
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"
]
},
Activity
ljharb commentedon Jan 5, 2025
CRA is many years dead and deprecated, so i assume you’ve ejected?
Where is that error message coming from?
rabidkitten commentedon Jan 6, 2025
Apparently ejecting it fixed the issue with no changes other than that.