correctness/noQwikUseVisibleTask
correctness · since 2.1.4
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noQwikUseVisibleTask": "error"
}
}
}
}useVisibleTask$(() => {
console.log('Component is visible');
});useTask$(() => {
console.log('Task executed');
});Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noQwikUseVisibleTask
correctness · since 2.1.4
{
"linter": {
"rules": {
"correctness": {
"noQwikUseVisibleTask": "error"
}
}
}
}Disallow quickfix.biome in supported editor settings.
Disallow deep imports from the react-native package.
Disallow using variables from outside the function passed to page.evaluate() and page.addInitScript().
Disallow raw text outside <Text> components in React Native.
Enforce Playwright async APIs to be awaited or returned.
Prevents React-specific JSX properties from being used.