-
Notifications
You must be signed in to change notification settings - Fork 451
Closed
Milestone
Description
I would appreciate if there was a way for scss logical code not to be processed.
.blocks {
font-weight:bold;
// from here
@each $id, $data in $section-colorscheme {
$body: map-get($data, body);
$class: map-get($data, class);
$base: map-get($data, base);
$lite: map-get($data, lite);
$dark: map-get($data, dark);
body#{$body} & { background-color: $lite; }
&#{$class} { color: $base; background-color: $dark; }
@if $id == beta {
&::before { content: 'BBB'; }
}
}
// to here
}I figure it's complicated so I was wondering if there could be ignore comment command:
.blocks {
font-weight:bold;
// csscomb:ignore:start
@each $id, $data in $section-colorscheme {
$body: map-get($data, body);
$class: map-get($data, class);
$base: map-get($data, base);
$lite: map-get($data, lite);
$dark: map-get($data, dark);
body#{$body} & { background-color: $lite; }
&#{$class} { color: $base; background-color: $dark; }
@if $id == beta {
&::before { content: 'BBB'; }
}
}
// csscomb:ignore:end
}Thanks in advance
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5501949-ignore-certain-parts-of-files?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).JPLachance, alfredbez, kalyanov, dustinautery, EdwardReed and 31 more