Skip to content

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

Description

@gregmatys

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…

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions