ben-eb / perfectionist

Beautify CSS files.
MIT License
229 stars 14 forks source link

@Include is combined with comment #30

Closed akeroyd closed 7 years ago

akeroyd commented 7 years ago

Given the input:

a,a:visited{
  //@include border-radius(5px);
  @include transition(background-color 0.2s ease);
}

Perfectionist will return:

a, a:visited {
  //@includeborder-radius(5px)@include transition(background-color 0.2s ease);
}
ben-eb commented 7 years ago

I'm pretty sure that this was caused by the format option being set to undefined. Can you confirm with the latest release, please? 😃

akeroyd commented 7 years ago

Hi, sorry for the delay. Yes this seems fine in the latest version. Thanks for this project, it is very helpful!