Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

New line (\n) before every sass rule in css comb, like @import @extend ecc.. How to avoid that?

$
0
0

A few days ago I installed csscomb vscode extension, for order my css properties, but I have a problem with that. I use Scss and when I use in my stylesheet rules like @import @extend ecc... and I run the plugin, it add before every rule a new blank line, and I hate that.

Example

SCSS code


.magic-class {
display:block;
grid-template-columns: 1rem 1rem 1rem;
@include box(2rem);
@include transition();
@include box;
overflow:hidden;
touch-action: none;
}

Expected behavior


.magic-class {
  display: block;
  overflow: hidden;
  grid-template-columns: 1rem 1rem 1rem;
  @include box(2rem);
  @include box;
  @include transition();
  touch-action: none;
}

Real behavior


.magic-class {
  display: block;
  overflow: hidden;
  grid-template-columns: 1rem 1rem 1rem;

@include box(2rem);

@include box;
@include transition();

  touch-action: none;
}

I would like to avoid to have this lines before every scss rule, I opened an issue in css comb repository but nobody answer me.

Can you help me with that?


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>