suspicious/noDuplicateSelectorsKeyframeBlock
suspicious · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateSelectorsKeyframeBlock": "error"
}
}
}
}Disallow duplicate selectors within keyframe blocks.
@keyframes foo { from {} from {} }@keyframes foo { from {} FROM {} }@keyframes foo { 0% {} 0% {} }@keyframes foo { 0% {} 100% {} }@keyframes foo { from {} to {} }Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateSelectorsKeyframeBlock
suspicious · since 1.8.0
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateSelectorsKeyframeBlock": "error"
}
}
}
}Disallow duplicate properties within declaration blocks.
Require all variable definitions to be unique.
Require fields within an input object to be unique.
Disallow accessing namespace imports dynamically.