stylefmt icon indicating copy to clipboard operation
stylefmt copied to clipboard

at-rule-empty-line-before not honoring `blockless-after-blockless`

Open pattiereaves opened this issue 7 years ago • 0 comments

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.

pattiereaves avatar Mar 15 '17 17:03 pattiereaves