suspicious/noImportantInKeyframe
suspicious · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noImportantInKeyframe": "error"
}
}
}
}@keyframes foo {
from {
opacity: 0;
}
to {
opacity: 1 !important;
}
}@keyframes foo {
from {
opacity: 0;
}
to {
opacity: 1;
}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noImportantInKeyframe
suspicious · since 1.8.0
{
"linter": {
"rules": {
"suspicious": {
"noImportantInKeyframe": "error"
}
}
}
}Disallow use of implicit any type on variable declarations.
Disallow non-standard directions in linear gradients.
Disallow invalid named areas in CSS grid templates.