scss-lint icon indicating copy to clipboard operation
scss-lint copied to clipboard

Make it possible to define required line breaks before blocks and modifiers in BEM notation

Open gregmatys opened this issue 4 years ago • 0 comments

What I really need is to require specified line breaks in BEM… For example:

.block {
    &__element {
        &--modifier {

should have 3 empty lines before element and 2 empty lines before modifier, like this:

.block {



    &__element {
    
    
        &--modifier {

It would be really nice when working on complex code. I use single empty line before mixins, loops, pseudo-elements, etc…

gregmatys avatar Feb 24 '21 13:02 gregmatys