postcss-sorting
Advanced tools
Changelog
4.1.0
Changelog
4.0.1
Array.sort()
in V8.at-variables
keyword for order
now follows postcss-less@3
parser.Changelog
4.0.0
at-variables
keyword for order
.Changelog
3.0.2
Changelog
3.0.1
properties-order
.Changelog
3.0.0
This is a cleanup release. Removed everything not related to ordering stylesheets. I recommend to use combination stylelint 7.11+ with --fix
option and stylelint-order 0.5+ plugin instead of this plugin. Using combination above you'll receive linting and autofixing using only one tool!
at-rule-nested-empty-line-before
clean-empty-lines
comment-empty-line-before
custom-property-empty-line-before
declaration-empty-line-before
dollar-variable-empty-line-before
rule-nested-empty-line-before
properties-order
:
emptyLineBefore
option.Changelog
2.1.0
order
supports new rule
extended object, which has new selector
option. Rules in order
can be specified by their selector.hasBlock
was set to false
in extended at-rule object in order
.Changelog
2.0.0
This release completely incompatible with the previous API. There is a lot new options. Please read the documentation.
A migration guide is available.
sort-order
split into order
and properties-order
.@include icon;
has no block.rule-nested-empty-line-before
at-rule-nested-empty-line-before
declaration-empty-line-before
custom-property-empty-line-before
dollar-variable-empty-line-before
comment-empty-line-before
clean-empty-lines
: Remove all empty lines./* postcss-sorting: on/off */
preserve-empty-lines-between-children-rules
empty-lines-between-children-rules
empty-lines-between-media-rules
empty-lines-before-comment
empty-lines-after-comment