consistent-font-family-casing
Require consistent font-family casing across @font-face declarations.
Rule catalog ID: R013
Targeted pattern scopeโ
font-familyvalues inside@font-facedeclarations.
What this rule reportsโ
- Casing drift for the same logical family (
Intervsinter).
Why this rule existsโ
Casing drift hides duplicates and makes font-face inventory harder to audit.
โ Incorrectโ
@font-face {
font-family: "Inter";
}
@font-face {
font-family: "inter";
}
โ Correctโ
@font-face {
font-family: "Inter";
}
@font-face {
font-family: "Inter";
}