no-missing-fallback-before-web-font
Disallow web-font-only font-family stacks.
Rule catalog ID: R016
Targeted pattern scopeโ
font-familydeclarations outside@font-facewhere a web font appears first.
What this rule reportsโ
- Stacks that start with a custom font and provide no fallback family.
Why this rule existsโ
Web fonts can fail to load; fallback families preserve readability and layout stability.
โ Incorrectโ
.title {
font-family: "Inter";
}
โ Correctโ
.title {
font-family: "Inter", system-ui;
}