font-family-name-quotes
What it does
Section titled “What it does”Reports a quoted font family name that is also valid without quotes ("Arial", "Open Sans").
Why it matters
Section titled “Why it matters”A family name that is a sequence of identifiers (Open Sans) needs no quotes, and quoted and unquoted names then mean the same. Quotes stay for the names that are not identifiers, such as one that starts with a digit.
To fix, delete the quotes.
Example
Section titled “Example”... font-family: "Arial", 'Lucida Grande', "Font 2", sans-serif;}Configuration
Section titled “Configuration”css: lint: rules: font-family-name-quotes: warn # off (default), warn, errorless: lint: rules: font-family-name-quotes: warn # off (default), warn, errorscss: lint: rules: font-family-name-quotes: warn # off (default), warn, errorEnabled by the presets: css/stylelint-standard.
Suppress one line with sudsy-disable-next-line font-family-name-quotes in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools. full: Sudsy reports what the upstream rule reports; partial: only part of it, as the last column says.
| Tool | Rule | Match | What differs |
|---|---|---|---|
| stylelint | font-family-name-quotes |
partial | does not report a name that is missing a quote it needs (always-where-required) |