Astro Plugin
Rules for Astro, the web framework for content-driven websites.
This plugin is provided in a standalone @flint.fyi/plugin-astro npm package.
Implemented: 2 of 49 (4%)
| Flint Rule | Preset |
|---|---|
accessKeys | logical |
altTexts | logical |
anchorAmbiguousText | logical |
anchorContent | logical |
anchorValidity | logical |
ariaActiveDescendantTabIndex | logical |
ariaHiddenFocusables | logical |
ariaProps | logical |
ariaPropTypes | logical |
ariaRoleValidity | logical |
ariaUnsupportedElements | logical |
autocomplete | logical |
autoFocusProps | logical |
clickEventKeyEvents | logical |
clientOnlyDirectiveValuesReports client:only directives without a value, or with a value whose type cannot be a renderer hint string. | logical |
componentFileExports | logical |
controlAssociatedLabels | logical |
distractingElements | logical |
headingContents | logical |
htmlLangs | logical |
iframeTitles | logical |
imageAltRedundancy | logical |
interactiveElementRoles | logical |
interactiveElementsFocusable | logical |
labelAssociatedControls | logical |
langValidity | logical |
mediaCaptions | logical |
mouseEventKeyEvents | logical |
nonInteractiveElementInteractions | logical |
nonInteractiveElementRoles | logical |
nonInteractiveElementTabIndexes | logical |
prerenderExportsOutsidePages | logical |
roleRedundancies | logical |
roleRequiredAriaProps | logical |
roleSupportedAriaProps | logical |
roleTags | logical |
scopeProps | logical |
setDirectiveChildContentConflicts | logical |
setTextDirectives | logical |
staticElementInteractions | logical |
tabIndexPositiveValues | logical |
unusedCssSelectors | logical |
unusedStyleDefineVars | logical |
setHtmlDirectivesReports using Astro's set:html directive, which injects content without escaping. | security |
unsafeInlineScripts | security |
attributesOrder | sorting |
classListDirectiveObjects | stylistic |
classListDirectives | stylistic |
classListDirectiveSplits | stylistic |
Made with ❤️🔥 around the world by
the Flint team and contributors.