Solvedjavascript jsx-a11y/href-no-hash removal

27 Answers

✔️Accepted Answer

@TrejGun that's because we aren't compatible with v6 of eslint-plugin-jsx-a11y - if you run npm ls you'll see that your dependencies are invalid, which means that you can't expect anything to work. Downgrade that plugin to v5, and everything will work (or just use the install command in the eslint-config-airbnb readme in the first place, which every single person commenting in this thread after it was closed also failed to do)

Other Answers:

When I do eslint --init it installs "eslint-plugin-jsx-a11y": "^6.0.2" to my package.json. Which has this breaking change still. Any advice on how to get the old version to install?

There's an existing issue; it might have been mistakenly closed.

More Issues: