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: 1 of 12 (8.3%)
Flint RulePreset
clientOnlyDirectiveValueslogical
componentFileExportslogical
setDirectiveChildContentConflictslogical
setTextDirectiveslogical
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.