correctness/noUnknownPseudoElement
correctness · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noUnknownPseudoElement": "error"
}
}
}
}a::pseudo {}a::PSEUDO {}a::element {}a:before {}a::before {}::selection {}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noUnknownPseudoElement
correctness · since 1.8.0
{
"linter": {
"rules": {
"correctness": {
"noUnknownPseudoElement": "error"
}
}
}
}Disallow unrecognized element names in type selectors.
Disallow unrecognized feature names in media queries.
Disallow An+B formulas that cannot select an element.