correctness/noReactNativeRawText
correctness · since 2.4.13
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noReactNativeRawText": "error"
}
}
}
}Disallow raw text outside <Text> components in React Native.
<View>some text</View><View>{'some text'}</View>const text = 'some text';
<View>{`${text}`}</View><View><Text>some text</Text></View><View><Text>{'some text'}</Text></View>Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noReactNativeRawText
correctness · since 2.4.13
{
"linter": {
"rules": {
"correctness": {
"noReactNativeRawText": "error"
}
}
}
}Disallow deep imports from the react-native package.
Prevents React-specific JSX properties from being used.
Disallow useVisibleTask$() functions in Qwik components.
Disallow quickfix.biome in supported editor settings.
Disallow comparing values to null in Sass @if conditions.