ben-eb / perfectionist

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

Support for rule separation #26

Closed itsjustmath closed 8 years ago

itsjustmath commented 8 years ago

Separate rules by new lines

Always put a blank line (two line breaks) between rules.

html {
  background: #fff;
}

body {
  margin: auto;
  width: 50%;
}
itsjustmath commented 8 years ago

Sorry if this overlaps with #19 - wasnt sure if we were talking about the same thing.

ben-eb commented 8 years ago

Do we not already do this?

https://github.com/ben-eb/perfectionist/blob/master/src/__tests__/fixtures/simple.expanded.css

itsjustmath commented 8 years ago

ah, yes! my sincere apologies....

ben-eb commented 8 years ago

No problem, thought it was a bug! :smile: