style/noValueAtRule
style · since 1.8.0
No autofix
biome.json
{
"linter": {
"rules": {
"style": {
"noValueAtRule": "error"
}
}
}
}@value red: #FF0000;:root {
--red: #FF0000;
}
p {
background-color: var(--red);
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
style/noValueAtRule
style · since 1.8.0
{
"linter": {
"rules": {
"style": {
"noValueAtRule": "error"
}
}
}
}Disallow unused error parameters in catch clauses.
Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.
Disallow template literals if interpolation and special-character handling are not needed
Require one description style throughout a GraphQL schema.
Require the JSON top-level value to be an array or object.
Require uppercase names for GraphQL enum values.