nursery/noShortTimeValues
nursery · since 2.6.3
No autofix
biome.json
{
"linter": {
"rules": {
"nursery": {
"noShortTimeValues": "error"
}
}
}
}Disallow animation and transition times that are shorter than a configured minimum.
a { transition-duration: 80ms; }a { animation-delay: 0.01s; }a { transition: background-color 6ms linear; }a { transition-duration: 0.8s; }
a { animation-delay: 100ms; }
a { transition: background-color 600ms linear; }
a { animation: slide 8s, fade 0s; }Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noShortTimeValues
nursery · since 2.6.3
{
"linter": {
"rules": {
"nursery": {
"noShortTimeValues": "error"
}
}
}
}Disallow nesting a cascade layer inside a layer with the same name.
Disallow destructuring props inside JSX components in Solid projects.
Disallow ignoring the function returned by a store's subscribe() method.
Disallow dependencies that are known to have better alternatives.