astro/jsx-a11y/no-static-element-interactions
apply
jsx-a11y/no-static-element-interactions
rule to Astro components
This rule is the same rule as jsx-a11y/no-static-element-interactions rule but it applies to the Astro components.
You must have eslint-plugin-jsx-a11y installed to use this rule.
However, this rule probably doesnβt work for Astro components because Astro components donβt provide an event listener as syntax.
π Further Reading
π Version
This rule was introduced in eslint-plugin-astro v0.11.0
π Implementation
Taken with β€οΈ from eslint-plugin-jsx-a11yEdit this page
Back
β astro/jsx-a11y/no-redundant-roles Next Page
astro/jsx-a11y/prefer-tag-over-role β
β astro/jsx-a11y/no-redundant-roles Next Page
astro/jsx-a11y/prefer-tag-over-role β