correctness/noUnknownTypeSelector
correctness · since 1.9.4
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noUnknownTypeSelector": "error"
}
}
}
}unknown {}unknown > ul {}x-Foo {}input {}ul > li {}x-foo {}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noUnknownTypeSelector
correctness · since 1.9.4
{
"linter": {
"rules": {
"correctness": {
"noUnknownTypeSelector": "error"
}
}
}
}Disallow unrecognized pseudo-element selectors.
Disallow An+B formulas that cannot select an element.
Disallow an unsafe combination of the sandbox attribute.