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 Rule | Preset |
|---|---|
clientOnlyDirectiveValues | logical |
componentFileExports | logical |
setDirectiveChildContentConflicts | logical |
setTextDirectives | 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.