All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
name option to extended rule object to improve error messaging (for order).order not reporting warnings, if autofix didn't fix them.emptyLineBefore* option targeting it in properties-order. Even if option set to always empty line before the first property will be removed.emptyLineBeforeUnspecified.stylelint@11 as a peer dependency.emptyLineBefore: "threshold" option, and related options (emptyLineMinimumPropertyThreshold, emptyLineBeforeUnspecified: "threshold") to properties-order.properties-order not report warnings, if autofix didn't fix them.properties-alphabetical-order now puts shorthands before their longhand forms even if that isn't alphabetical to avoid broken CSS. E. g. border-color will be before border-bottom-color.emptyLineBeforeUnspecified option for properties-order.noEmptyLineBetween in combination with the order: "flexible".noEmptyLineBetween for groups in properties-order.stylelint@10 as a peer dependency.This is a major release, because this plugin requires stylelint@9.8.0+ to work correctly with Less files.
postcss-less@3 parser changes, which is dependency of stylelint@9.7.0+.stylelint@8 as a peer dependency.stylelint@9.0.0 as a peer dependency.order and properties-order will no longer autofix proactively. If there no violations would be reported with autofix disabled, then nothing will be changed with autofix enabled. Previously, there were changes to flexible properties order (#49) or to the order of content within declaration blocks (#51).stylelint in peerDependencies rather in dependencies. Following stylelint's plugin guide.stylelint@8.0.0.properties-order. Before this version it was possible to define only e.g. padding and it would define position for all undefined padding-* properties. Now every property should be explicitly defined in a config.declaration-block-orderdeclaration-block-properties-orderdeclaration-block-properties-alphabetical-orderdeclaration-block-properties-specified-orderdeclaration-block-property-groups-structureorder.properties-order introduced in 0.4.2.order and properties-order weren't recognize SCSS nested properties as declarations.properties-order bug, when non-standard declaration is following after a standard onedeclaration-block-properties-specified-order. Instead use properties-order rule.declaration-block-property-groups-structure. Instead use properties-order rule.declaration-block-order to orderdeclaration-block-properties-alphabetical-order to properties-alphabetical-orderproperties-order rule. It combines removed declaration-block-properties-specified-order, declaration-block-property-groups-structure, and now support flexible order. Basically it's like declaration-block-properties-order in stylelint 6.5.0, but better :)declaration-block-property-groups-structure now uses declaration-block-properties-specified-order rather stylelint's deprecated declaration-block-properties-order. Flexible group order isn't supported anymoredeclaration-block-order support new rule extended object, which have new selector option. Rules in order can be specified by their selectorat-variables in declaration-block-orderless-mixins in declaration-block-orderdeclaration-block-property-groups-structure which were broken by previous fix ¯\_(ツ)_/¯declaration-block-properties-order which is called from declaration-block-property-groups-structureproperty-groups-structure to declaration-block-property-groups-structuredeclaration-block-properties-specified-order ruledeclaration-block-properties-alphabetical-order rule