v0.2.0
Features
- Added
declarationOrder
option for sorting declarations (a.k.a. properties) in qualified rule. For example, given with the following input:
div {
height: 0;
width: 0;
display: flex;
}
It can format into:
div {
display: flex;
width: 0;
height: 0;
}
For detail, please refer to documentation.
- Added
singleLineBlockThreshold
option. This option can let you put a block into a single line if possible. This is especially useful for increasing readability when writing atomic CSS. For example:
.border-0 { border-width: 0px; }
.border-1 { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-3 { border-width: 3px; }
.border-4 { border-width: 4px; }
.border-5 { border-width: 5px; }
For detail, please refer to documentation.