suspicious/noDuplicateCustomProperties
suspicious · since 1.9.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateCustomProperties": "error"
}
}
}
}Disallow duplicate custom properties within declaration blocks.
a { --custom-property: pink; --custom-property: orange; }a { --custom-property: pink; background: orange; --custom-property: orange }a { --custom-property: pink; }a { --custom-property: pink; --cUstOm-prOpErtY: orange; }Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateCustomProperties
suspicious · since 1.9.0
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateCustomProperties": "error"
}
}
}
}Disallow duplicate names in GraphQL enums.
Require unique argument names for fields and directives.
Require all fields of a type to be unique.
Require .where() to be called when using .update() with Drizzle ORM.
Disallow duplicate names inside GraphQL operations.