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-a11y

Edit this page