-
Notifications
You must be signed in to change notification settings - Fork 16
/
postcss-sorting.postcss.txt
32 lines (26 loc) · 2.5 KB
/
postcss-sorting.postcss.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
POSTCSS-SORTING
ALTERNATIVES ==> #See csscomb
VERSION ==> #1.2.3
#CSS beautifier specific for PROPS sorting
POSTCSS-SORTING(OBJ) #PostCSS plugin
#OBJ:
# - sort-order:
# - ARR2_ARR:
# - ARR: groups, two-newline separated
# - ARR2: props, where VAL can be:
# - 'PROP'
# - '...': any PROP not specified (def: at end)
# - '@atrule': any @RULE
# - '@RULE [PARAM]': specific @RULE
# - '>child':
# - nested ruleset
# - number of newlines is calculated with
# CONF.empty-lines-between-children-rules NUM (def: 0)
# - '$variable': $var|@var
# - ARR: same as [ ARR ]
# - STR: predefined config:
# - default
# - csscomb|zen|yandex: like csscomb predefined configs
#Works with prefixed properties