suspicious/noReactSpecificProps
suspicious · since 1.7.2
Safe autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noReactSpecificProps": "error"
}
}
}
}<Hello className="John" /><Hello class="Doe" />Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noReactSpecificProps
suspicious · since 1.7.2
{
"linter": {
"rules": {
"suspicious": {
"noReactSpecificProps": "error"
}
}
}
}Disallow raw text outside <Text> components in React Native.
Disallow deep imports from the react-native package.
Disallow comparing values to null in Sass @if conditions.
Disallow useVisibleTask$() functions in Qwik components.
Disallow shorthand properties that override earlier, more specific properties.