suspicious/noDuplicateProperties
suspicious · since 1.9.4
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateProperties": "error"
}
}
}
}a {
color: pink;
color: orange;
}a {
color: pink;
background: orange;
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateProperties
suspicious · since 1.9.4
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateProperties": "error"
}
}
}
}Require fields within an input object to be unique.
Disallow duplicate selectors within keyframe blocks.
Disallow duplicate names in font-family lists.
Require all variable definitions to be unique.
Disallow duplicate names inside GraphQL operations.
Disallow accessing namespace imports dynamically.