-
Notifications
You must be signed in to change notification settings - Fork 26.8k
jsx-a11y/href-no-hash
removal
#1474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This should be filed on |
Please do file it upstream if this is the case. @Misiur please confirm that |
@ljharb The commit they linked to is tagged under v5.1.0. |
@Arcanemagus thanks; would you mind filing an issue then? |
Done. |
Will be resolved by https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/283. |
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? |
@breakpoint25 You would need to file a bug with ESLint that their To fix your existing project either remove the dependency from your |
@Arcanemagus I did this and it does not work - I have default installed the versions in my package and I am still getting these errors. Seems to be no fix and this does not work for new users at this time anymore. I simply followed the instructions given and I get every file full of the href-no-hash error now. The default instructions installed v6 |
@bradennapier That was my entire point, Just did a quick search and either I didn't find the issue, or nobody has filed one yet. You should file a new issue on ESLint telling them that |
There's an existing issue; it might have been mistakenly closed. |
You can take a look at this comment. It solves the problem for now. |
I'm still seeing this problem and I'm using:
This matches the what I get from If this is not the correct combination of packages/versions, then what is? |
@markwoon What's your eslint config look like? |
After more testing, blowing away |
@ljharb
|
@TrejGun that's because we aren't compatible with v6 of |
@ljharb thanks for fast response |
There's no hurry to support it; but follow #1482 - it'll be merged when the next major release is ready. |
v16 is now released. |
I still have the same error after I run
I have the following packages installed
|
@tvtri96 what's your .eslintrc look like? |
I set the configuration in package.json because I use the boilerplate from react-boilerplate. Their dependencies are outdated. I just used the above command that I mentioned to update the dependencies. Here is what it looks like (same as in the link)
|
@tvtri96 do you see the line that says |
Okay, thanks. I didn't read the first post carefully. I change to |
Downgrade ally linter airbnb/javascript#1474
For those of you not yet able to make it work, I added this on my Cheers 🤙🏻 |
Hello.
jsx-a11y/href-no-hash
has been removed/renamed a few days ago, and your rule is now raising errorsThe text was updated successfully, but these errors were encountered: