astro/jsx-a11y/lang

apply jsx-a11y/lang rule to Astro components

This rule is the same rule as jsx-a11y/lang rule but it applies to the Astro components.
You must have eslint-plugin-jsx-a11y installed to use this rule.

The following is a partial excerpt from the jsx-a11y/lang rule documentation. See original documentation for more details.

The lang prop on the <html> element must be a valid IETF's BCP 47 language tag.

📚 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