mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
Currently, some of the rules did not use `settings`, so make sure they do. - [x] Align implementation of `getElementType()` - (This is the only util that depends on `settings`) Original rules which use `getElementType()` are: - [x] 🙅🏻♂️ accessible-emoji - [x] ✅ alt-text - [x] 🙅🏻♂️ anchor-ambiguous-text - [x] ✅ anchor-has-content - [x] anchor-is-valid - TODO: `from_configuration()` not implemented => #2361 - [x] 🙆🏻♀️ aria-activedescendant-has-tabindex - [x] 🙆🏻♀️ aria-role - [x] 🙆🏻♀️ aria-unsupported-elements - [x] autocomplete-valid - TODO: `from_configuration()` not implemented and needed for this => #2362 - [x] 🙆🏻♀️ click-events-have-key-events - [x] 🙅🏻♂️ control-has-associated-label - [x] heading-has-content - TODO: 1 test should be failed but passes 🤔 => #2360 - [x] 🙆🏻♀️ html-has-lang - [x] ✅ iframe-has-title - [x] 🙆🏻♀️ img-redundant-alt - [x] 🙅🏻♂️ interactive-supports-focus - [x] 🙅🏻♂️ label-has-associated-control - [x] 🙅🏻♂️ label-has-for - [x] 🙆🏻♀️ lang - [x] 🙆🏻♀️ media-has-caption - [x] ✅ no-aria-hidden-on-focusable - [x] 🙆🏻♀️ no-autofocus - [x] 🙆🏻♀️ no-distracting-elements - [x] 🙅🏻♂️ no-interactive-element-to-noninteractive-role - [x] 🙅🏻♂️ no-noninteractive-element-interactions - [x] 🙅🏻♂️ no-noninteractive-element-to-interactive-role - [x] 🙅🏻♂️ no-noninteractive-tabindex - [x] 🙅🏻♂️ no-onchange - [x] 🙆🏻♀️ no-redundant-roles - [x] 🙅🏻♂️ no-static-element-interactions - [x] ✅ prefer-tag-over-role - [x] 🙆🏻♀️ role-has-required-aria-props - [x] 🙆🏻♀️ role-supports-aria-props - [x] 🙆🏻♀️ scope 🙅🏻♂️ = Not implemented yet by oxlint / ✅ = Fixed by this PR / 🙆🏻♀️ = Already used |
||
|---|---|---|
| .. | ||
| examples | ||
| fixtures | ||
| src | ||
| tests | ||
| Cargo.toml | ||