suspicious/noGlobalIsNan
suspicious · since 1.0.0
Unsafe autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noGlobalIsNan": "error"
}
}
}
}isNaN({}); // trueNumber.isNaN({}); // falseExamples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noGlobalIsNan
suspicious · since 1.0.0
{
"linter": {
"rules": {
"suspicious": {
"noGlobalIsNan": "error"
}
}
}
}Disallow use of implicit any type on variable declarations.
Disallow !important in @keyframes declarations.
Disallow empty type parameters in type aliases and interfaces.
Disallow non-standard directions in linear gradients.