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 runtime default exports in Astro component frontmatter.
Disallow lower-specificity selectors after higher-specificity selectors.