nursery/noAstroConflictingSetDirectives
nursery · since 2.5.15
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noAstroConflictingSetDirectives": "error"
}
}
}
}<div>{items.map((item) => <span set:html={item.html}>Fallback content</span>)}</div><div>{items.map((item) => <span set:html={item.html} />)}</div>Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noAstroConflictingSetDirectives
nursery · since 2.5.15
{
"linter": {
"rules": {
"nursery": {
"noAstroConflictingSetDirectives": "error"
}
}
}
}Disallow runtime default exports in Astro component frontmatter.
Disallow the use of Astro's set:html directive.
Disallow the use of spread (...) syntax on accumulators.
Disallow ineffective ordering in files.includes patterns.
Disallow Convex database indexes whose fields are the first fields of another index on the same table.