Skip to content

empty-line-between-blocks should consider mixins-before-declarations excludes #1055

Open
@stowball

Description

@stowball

What version of Sass Lint are you using?

1.10.2

Please include any relevant parts of your configuration

empty-line-between-blocks: 1

mixins-before-declarations:
    - 1
    - exclude: ['media-query', 'mq']

What did you do? Please include the actual source code causing the issue.

.foo {
  color: red;
  @include mq(600px) {
    color: blue;
  }
}

What did you expect to happen?

An error to be reported because there was no blank line before @include mq;

What actually happened? Please include any error messages given to you by Sass Lint.

Nothing.

If you're using a IDE plugin have you tried the CLI too?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions