Extra Whitespace Between Blocks
Opened this issue · 1 comments
chriscoyier commented
.example
color red
.example2
color blue
Processes leaving the same amount of space. Prettier in other languages collapses the extra unnecessary extra lines. Not sure if that's possible in Stylus because of the white space sensitivity, just feels weird.
lsdsjy commented
In fact it's a feature to keep the same amount of blank lines, see:
prettier-plugin-stylus/src/parser.ts
Line 16 in 208fc56
but it's good if we can have an option to opt-out of this behavior. I'll have a look at it later.