Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

at-rule-empty-line-before not honoring blockless-after-blockless #274

@pattiereaves

Description

@pattiereaves

For the code

div {
  @include rule()
  @include secondrule()
}

and the Stylelint directive:

"at-rule-empty-line-before": [
  "always",
  {
    "except": ["blockless-after-blockless"],
  }
]

Stylefmt is putting a space between the includes where it should not, e.g.

div {
  @include rule()

  @include secondrule()
}

Possibly because Stylelint changed blockless-group (which the README says Stylefmt should honor) to blockless-after-blockless as a rule.

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