-
Notifications
You must be signed in to change notification settings - Fork 1
Description
as part of providing lighter alternatives for popular lint plugins with deep compat layers, this project should provide an alternative to the jsx-a11y
plugin.
At a high level, I don't think we should fork the plugin as it contains a large amount of support code for older runtimes and a plugin system we don't necessarily need.
Instead, we can do similar to lit-a11y - start from scratch but try to support the same rule set (as best we can / where appropriate).
The existing plugin's rules can be found here:
https://github.com/jsx-eslint/eslint-plugin-jsx-a11y?tab=readme-ov-file#supported-rules
Basic requirements
- All non-deprecated rules supported (unless we decide not to support one through discussion)
- Both eslintrc and eslint config files supported
- Specific to JSX (i.e. we don't need to care about supporting HTML strings etc)
- No node compatibility dependencies (polyfills, "polyfills", etc)
Open questions
- What version of ESLint do we require? 8.x onwards?
Contributors/Owners
I think we can start by contributing a rule each over time, and naturally will end up with a couple of us owning this repo (but anyone can contribute one).
I'll also start a discussion on discord (e18e) to discuss this