nursery/noScssNullComparison
nursery · since 2.6.7
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noScssNullComparison": "error"
}
}
}
}a {
@if $value == null {}
}a {
@if $value != null {}
}a {
@if $value {}
@if not $value {}
@if $value != null and $value > 1 {}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noScssNullComparison
nursery · since 2.6.7
{
"linter": {
"rules": {
"nursery": {
"noScssNullComparison": "error"
}
}
}
}Disallow shorthand properties that override earlier, more specific properties.
Prevents React-specific JSX properties from being used.
Disallow comparison of expressions modifying the string case with non-compliant value.
Disallow raw text outside <Text> components in React Native.
It detects possible "wrong" semicolons inside JSX elements.