mike7515 / code-beautifier

MIT License
19 stars 5 forks source link

Add Blank empty line between variables and rules (Less File) #13

Closed eralmeida closed 5 years ago

eralmeida commented 7 years ago

Hello,

I'm not sure this is an issue, but when I format a less file, this is the following result : @lt-gray: #ddd; @background-dark: #512DA8; @background-light: #9575CD; @background-pale: #D1C4E9; @carousel-item-height: 300px; .zero-margin(@pad-up-down: 0px, @pad-left-right: 0px) { margin: 0px auto; padding: @pad-up-down @pad-left-right; }

Is there a way to add a new line after the last variable?

AjayPoshak commented 6 years ago

I am also facing the same issue. Is there any way we can make that happen?

mike7515 commented 5 years ago

With the last version(v2.3.0) using this configuration "preserve_newlines": true it add a new line the last variable.