nursery/noAstroSetHtmlDirective
nursery · since 2.5.11
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noAstroSetHtmlDirective": "error"
}
}
}
}{show && <span set:html={content} />}{show && <span>{content}</span>}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noAstroSetHtmlDirective
nursery · since 2.5.11
{
"linter": {
"rules": {
"nursery": {
"noAstroSetHtmlDirective": "error"
}
}
}
}Disallow conflicting content sources on Astro elements.
Disallow ineffective ordering in files.includes patterns.
Disallow runtime default exports in Astro component frontmatter.
Disallow the use of spread (...) syntax on accumulators.
Disallow Convex database indexes whose fields are the first fields of another index on the same table.