Skip to content

Releases: hudochenkov/postcss-sorting

1.7.0

29 Sep 16:59
Compare
Choose a tag to compare
  • Added smacss and alphabetical predefined configs.
  • Under the hood refactoring.

1.6.1

23 Jun 22:06
Compare
Choose a tag to compare
  • Fixed a regression in 1.6.0. Sort order with item like @include media didn't found rules like @include media(">=desk") {}.

1.6.0

11 Jun 14:07
Compare
Choose a tag to compare
  • Add special comments to disable processing for some part in style sheet
  • Support custom properties as $variable #27
  • Fix an issue when there is a lot of comments in the end of a rule #24
  • At-rule parameter now supports parentheses. For example, @include mwp(1). (thanks, @Redknife) #29

1.5.0

15 May 15:56
Compare
Choose a tag to compare
  • Add empty-lines-before-comment and empty-lines-after-comment, which add empty lines before and after a comment or a group of comments.

1.4.1

11 May 09:59
Compare
Choose a tag to compare
  • Fix issue with a rule content starting with a comment and follow by a rule. Error happens if config has any option except sort-order. #21

1.4.0

08 May 17:19
Compare
Choose a tag to compare
  • Added preserve-empty-lines-between-children-rules, which preserve empty lines between children rules and preserve empty lines for comments between children rules. #20

1.3.1

29 Apr 16:47
Compare
Choose a tag to compare
  • Fix adding additional empty line if both empty-lines-between-children-rules and empty-lines-between-media-rules are not 0. #19

1.3.0

29 Apr 13:24
Compare
Choose a tag to compare
  • Added empty-lines-between-media-rules option which set a number of empty lines between nested media rules. #16

1.2.3

02 Apr 12:02
Compare
Choose a tag to compare
  • Fixed removing last comments in the rule.
  • Fixed adding empty lines between children rules if there are comments between them.

1.2.2

06 Mar 07:30
Compare
Choose a tag to compare
  • Fixed removing comments in rule if they are only children.
  • Fixed removing of the first comment in the rule if it's not on separate line.