postcss / sugarss

Indent-based CSS syntax for PostCSS
MIT License
708 stars 39 forks source link

Last declaration is missing semicolon #57

Closed michael-ciniawsky closed 7 years ago

michael-ciniawsky commented 7 years ago
.a 
  color: red
.a {
  color: red // <= 
}
.a
  color: red
  background-color: white
.a {
  color: red; // ok
  background-color: white // <=
}

It's happens only on the last decl of a certain block. It's seems to be valid according to CSS 2.2, is it intensionally ? :)

ai commented 7 years ago

Nope, it is default way for PostCSS if you don't set special raws