nursery/useAstroClientOnlyDirectiveValue
nursery · since 2.5.9
No autofix
biome.json
{
"linter": {
"rules": {
"nursery": {
"useAstroClientOnlyDirectiveValue": "error"
}
}
}
}<Component client:only /><Component client:only="react" /><Component client:only={renderer} />Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/useAstroClientOnlyDirectiveValue
nursery · since 2.5.9
{
"linter": {
"rules": {
"nursery": {
"useAstroClientOnlyDirectiveValue": "error"
}
}
}
}Reports CSS class selectors that are never referenced in any JSX or HTML file.
Enforce a consistent notation for font weights.
Disallow TypeScript type assertions other than const assertions.
Enforce a consistent notation for the lightness of colors.