ben-eb / perfectionist

Beautify CSS files.
MIT License
229 stars 14 forks source link

Support SCSS #15

Closed yisibl closed 8 years ago

yisibl commented 8 years ago

Like:

input:

$foo:30px;$bar:20px;

output:

$foo: 30px;
$bar: 20px;
sindresorhus commented 8 years ago

Should be possible now that PostCSS supports custom parsers: https://github.com/postcss/postcss/#custom-syntaxes https://github.com/postcss/postcss-scss

ben-eb commented 8 years ago

I think we might have to look at bundling the scss syntax to fix https://github.com/ben-eb/perfectionist/issues/18. Not sure what happens down the line if/when new syntaxes are added, however.