suspicious/noBiomeFirstException
suspicious · since 2.2.0
Safe autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noBiomeFirstException": "error"
}
}
}
}{
"files": {
"includes": ["!dist"]
}
}{
"files": {
"includes": ["src/**", "!dist"]
}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noBiomeFirstException
suspicious · since 2.2.0
{
"linter": {
"rules": {
"suspicious": {
"noBiomeFirstException": "error"
}
}
}
}Disallow the use of Astro's set:html directive.
Disallow conflicting content sources on Astro elements.
Disallow Convex database indexes whose fields are the first fields of another index on the same table.
Disallow runtime default exports in Astro component frontmatter.
Require the object syntax when registering Convex queries, mutations, and actions.