matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

Add support for string-quotes #101

Closed davidtheclark closed 8 years ago

davidtheclark commented 8 years ago

http://stylelint.io/user-guide/rules/string-quotes/

hejmartin commented 8 years ago

@morishitter Quotes are only fixed in property values, not in selectors.

Running stylefmt with "string-quotes": "double":

/* input */
[foo='bar'] {
    foo: 'bar';
}
/* output */
[foo='bar'] {
    foo: "bar";
}