Closed cbrwizard closed 8 years ago
Hey, I found an issue with stylefmt default rules. It adds a newline at the beginning of the file when there is a variable declaration on the first line:
stylefmt
$border: 1px solid #fff; .border { border: $border; }
I run stylefmt example.scss and that file ^ gets transformed into:
stylefmt example.scss
// here there actually is a newline but github's markdown does not display it $border: 1px solid #fff; .border { border: $border; }
In my opinion, it's not intended and a newline shouldn't be added in the beginning of the file.
Thanks for fixing this, @morishitter!
Hey, I found an issue with
stylefmt
default rules. It adds a newline at the beginning of the file when there is a variable declaration on the first line:I run
stylefmt example.scss
and that file ^ gets transformed into:In my opinion, it's not intended and a newline shouldn't be added in the beginning of the file.