New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to enforcing single quotes #14
Comments
I would seriously consider enforcing no quotes, as it is perfectly valid not to use them and less is more. The only downside is syntax highlighters are often not that smart and usually highlight the strings differently without quotes. I see that as an issue with the highlighters not following W3C specs properly though. It seems stylelint documentation examples do not use quotes, see |
@jaydenseric Thanks for the input. You raise some good points. @davidtheclark I went back through the style guides linked to from the README and found quotes to be more divisive than I originally thought. There isn't any consistency across the style guides. Perhaps we should follow |
I agree that there's no consistent standard, so let's cut it out,
|
Additionally, I'm finding that the following
creates a Kafkaesque paradox wherein I can only be wrong:
=>
=> |
@oliverturner This is because each rule is standalone and sometimes it's possible to configure rules so that they conflict with one another. In this instance you're only overriding the Going forward, we're going to remove the quote rules and so it'll be less likely someone will run into the issue you've had. |
@santanajames See #198 (comment). The emphasis of the config changed:
The conflicts mentioned above were resolved a couple of years ago. The options for rules like
Unquoted |
Single quotes are a better for three main reasons:
Rules to tweak:
font-family-name-quotes
function-url-quotes
string-quotes
The text was updated successfully, but these errors were encountered: