You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Roboto" should be converted to Roboto after --fix flag.
What actually happened?
--fix does not automatically fix the problem.
Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
I have a hunch that this was working in stylelint@13 but I'm not sure. either way shouldn't this be an automatically fixable problem by removing the quotes on font family names that don't have spaces or misc symbols.
The text was updated successfully, but these errors were encountered:
Also, we're discussing freezing all stylistic rules (including font-family-name-quotes) with #5674, but I think it's acceptable to add an autofix option to an existing rule for now.
@ybiquitous Hi, I took some time to look at the code and see what I could figure out. I've created a PR for it. There is some information on the PR description that I'd like clarification on if you can.
What steps are needed to reproduce the bug?
create a css file with
enable rule
'font-family-name-quotes': 'always-where-recommended'
What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
stylelint index.css --fix
Which version of Stylelint are you using?
14.2.0
What did you expect to happen?
"Roboto"
should be converted toRoboto
after--fix
flag.What actually happened?
--fix
does not automatically fix the problem.Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
I have a hunch that this was working in
stylelint@13
but I'm not sure. either way shouldn't this be an automatically fixable problem by removing the quotes on font family names that don't have spaces or misc symbols.The text was updated successfully, but these errors were encountered: