nursery/noExcessiveSelectorComplexity
nursery · since 2.6.7
No autofix
biome.json
{
"linter": {
"rules": {
"nursery": {
"noExcessiveSelectorComplexity": "error"
}
}
}
}Limit how complex selectors can be, and disallow chosen parts of selectors.
#main #sidebar {}button:hover {}#main .sidebar,
#footer {}
#main:not(#sidebar) {}
button:focus {}Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noExcessiveSelectorComplexity
nursery · since 2.6.7
{
"linter": {
"rules": {
"nursery": {
"noExcessiveSelectorComplexity": "error"
}
}
}
}Disallow using a Drizzle ORM instance inside its own transaction callback.
Discourages the disabled attribute on form controls and on elements that act as buttons.
Flags text nodes with a trailing $ before a JSX expression.