correctness/noUnknownPseudoClass
correctness · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noUnknownPseudoClass": "error"
}
}
}
}a:unknown {}a:UNKNOWN {}a:hoverr {}a:hover {}a:focus {}:not(p) {}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noUnknownPseudoClass
correctness · since 1.8.0
{
"linter": {
"rules": {
"correctness": {
"noUnknownPseudoClass": "error"
}
}
}
}Disallow unrecognized pseudo-element selectors.
Disallow unrecognized feature names in media queries.
Disallow unrecognized element names in type selectors.