correctness/noUnknownProperty
correctness · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noUnknownProperty": "error"
}
}
}
}a {
colr: blue;
}a {
my-property: 1;
}a {
color: green;
}a {
fill: black;
}a {
-moz-align-self: center;
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noUnknownProperty
correctness · since 1.8.0
{
"linter": {
"rules": {
"correctness": {
"noUnknownProperty": "error"
}
}
}
}Disallow unrecognized feature names in media queries.
Disallow unrecognized pseudo-element selectors.
Disallow unrecognized element names in type selectors.