-
Notifications
You must be signed in to change notification settings - Fork 24
Support for Eslint v9 #62
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
Was unaware of the error (or an eslint version update for that matter), but
i certainly plan on supporting newer versions as long as the plugin remains
useful. Will probably be a couple weeks until i have time to take a look,
but ill keep you posted. And if you have time to take a look, Id be happy
to look at a fix PR
…On Sun, Apr 7, 2024 at 10:00 PM hiteto218 ***@***.***> wrote:
Hello,
It seems that Eslint v9 has been newly released.
However, when I execute it with v9, I encountered the following error:
Error: Key "rules": Key "styled-components-a11y/interactive-supports-focus":
Value [{"tabbable":["button","checkbox","link","searchbox","spinbutton","switch","textbox"]}] should NOT have more than 0 items.
Do you have any plans to support v9?
—
Reply to this email directly, view it on GitHub
<#62>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRNADOTWQABXYKYOWGQUA3Y4II4LAVCNFSM6AAAAABF35UHHOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTAMRQGI4DQMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
so, finally getting around to looking at this. it looks like v9 of eslint involves pretty sweeping changes, to the point that most plugins do not currently support it. from what i see, eslint-plugin-jsx-a11y falls into that category, and does not yet support v9. this plug in is built on top of eslint-plugin-jsx-a11y, and as such, I don't think there is any way for me to support v9 at this point. if i am wrong about that, let me know and i can reopen this. if so, it would also help if you could provide a code sandbox or a repo using eslint v9 which showcases a component correctly getting a jsx-a11y error (such as an onClick on a div showing the 'jsx-a11y/click-events-have-key-events' error so i can verify everything is working with that, and then i can add eslint-plugin-styled-components-a11y and work backward from there until a styled component produces the same error) |
fixed in version 2.1.35 |
Hello,
It seems that Eslint v9 has been newly released.
However, when I execute it with v9, I encountered the following error:
Do you have any plans to support v9?
The text was updated successfully, but these errors were encountered: