Skip to content

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 RulePreset
accessKeyslogical
altTextslogical
anchorAmbiguousTextlogical
anchorContentlogical
anchorValiditylogical
ariaActiveDescendantTabIndexlogical
ariaHiddenFocusableslogical
ariaPropslogical
ariaPropTypeslogical
ariaRoleValiditylogical
ariaUnsupportedElementslogical
autocompletelogical
autoFocusPropslogical
clickEventKeyEventslogical
clientOnlyDirectiveValuesReports client:only directives without a value, or with a value whose type cannot be a renderer hint string.logical
componentFileExportslogical
controlAssociatedLabelslogical
distractingElementslogical
headingContentslogical
htmlLangslogical
iframeTitleslogical
imageAltRedundancylogical
interactiveElementRoleslogical
interactiveElementsFocusablelogical
labelAssociatedControlslogical
langValiditylogical
mediaCaptionslogical
mouseEventKeyEventslogical
nonInteractiveElementInteractionslogical
nonInteractiveElementRoleslogical
nonInteractiveElementTabIndexeslogical
prerenderExportsOutsidePageslogical
roleRedundancieslogical
roleRequiredAriaPropslogical
roleSupportedAriaPropslogical
roleTagslogical
scopePropslogical
setDirectiveChildContentConflictslogical
setTextDirectiveslogical
staticElementInteractionslogical
tabIndexPositiveValueslogical
unusedCssSelectorslogical
unusedStyleDefineVarslogical
setHtmlDirectivesReports using Astro's set:html directive, which injects content without escaping.security
unsafeInlineScriptssecurity
attributesOrdersorting
classListDirectiveObjectsstylistic
classListDirectivesstylistic
classListDirectiveSplitsstylistic
Made with ❤️‍🔥 around the world by the Flint team and contributors.