no-whitespace-in-unquoted-family
Disallow unquoted multi-word font-family names.
Rule catalog ID: R014
Targeted pattern scopeโ
font-familydeclaration values in regular rules and@font-face.
What this rule reportsโ
- Unquoted family tokens containing whitespace.
Why this rule existsโ
Quoted multi-word names are clearer and avoid parser/tooling ambiguity.
โ Incorrectโ
.title {
font-family: Open Sans, system-ui;
}
โ Correctโ
.title {
font-family: "Open Sans", system-ui;
}