js-beautify
js-beautify copied to clipboard
scss: Do not remove space after `==` and `!=`
In VS Code we use js-beautifier for CSS also for SCSS. I know that's a stretch, but it seems to work quite well.
For the following examples, unfortunately, the formatter removes the space after the ==
and !=
operators. It would be nice if these could be preserved
@for $i from 1 through $positions {
&.pos#{$i} {
left: $i * if($i !=$positions, 10%, 15%);
}
}
@if $positions ==10 {
&.pos11 {
left: 100%;
}
}