complexity/noExcessiveSelectorClasses
complexity · since 2.4.12
No autofix
biome.json
{
"linter": {
"rules": {
"complexity": {
"noExcessiveSelectorClasses": "error"
}
}
}
}.foo .bar {}:is(.foo, .bar.baz) {}.foo {}.foo, div {}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.
complexity/noExcessiveSelectorClasses
complexity · since 2.4.12
{
"linter": {
"rules": {
"complexity": {
"noExcessiveSelectorClasses": "error"
}
}
}
}Disallow using a Drizzle ORM instance inside its own transaction callback.
Limit how complex selectors can be, and disallow chosen parts of selectors.
Discourages the disabled attribute on form controls and on elements that act as buttons.