hudochenkov / postcss-sorting

PostCSS plugin to keep rules and at-rules content in order.
MIT License
517 stars 31 forks source link

Empty lines removal in 2.x version #55

Closed UltraDosaaf closed 7 years ago

UltraDosaaf commented 7 years ago

Can't make it clear all empty lines:

   "properties-order":[
      {
         "clean-empty-lines":true,
         "preserve-empty-lines-between-children-rules":true,
         "properties":[
            "position",
            "top",
            "right",
            "bottom",
            "left",
            "z-index"
         ]
      },

What am I doing wrong?

hudochenkov commented 7 years ago

clean-empty-lines is an independent option.

{
   "clean-empty-lines":true,
   "properties-order":[
      {
         "properties":[
            "position",
            "top",
            "right",
            "bottom",
            "left",
            "z-index"
         ]
      },
   ]
}
UltraDosaaf commented 7 years ago

Thank you!