All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.scsslint.EmptyLineBetweenBlocks.html Maven / Gradle / Ivy

Details

Separate rule, function, and mixin declarations with empty lines.

Bad: no lines separating blocks

p {
margin: 0;
em {
...
}
}
a {
...
}

Good: lines separating blocks

p {
margin: 0;

em {
...
}
}

a {
...
}

By default, this will ignore single line blocks, so you can write:

.icon-chevron-up    { &:before { content: "\e030"; } }
.icon-chevron-down { &:before { content: "\e031"; } }
.icon-chevron-left { &:before { content: "\e032"; } }
.icon-chevron-right { &:before { content: "\e033"; } }
Configuration Option Description
ignore_single_line_blocks Don't enforce for single-line blocks (default true)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy