You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`properties-order` doesn't support property groups. Convert it to simple array. Use [stylelint-order] with `--fix` option for empty line before property groups.
89
49
90
50
Config for `2.x`:
91
51
92
-
```js
52
+
```json
93
53
{
94
-
"order": [
95
-
"custom-properties",
96
-
"dollar-variables",
97
-
"declarations",
98
-
"at-rules",
99
-
{
100
-
"type":"at-rule",
101
-
"name":"include"
102
-
},
103
-
{
104
-
"type":"at-rule",
105
-
"name":"include",
106
-
"parameter":"icon"
107
-
},
108
-
"rules"
109
-
],
110
54
"properties-order": [
111
55
{
112
-
"emptyLineBefore":true,
113
56
"properties": [
114
57
"margin",
115
58
"padding"
@@ -122,8 +65,20 @@ Config for `2.x`:
122
65
"background"
123
66
]
124
67
}
125
-
],
126
-
"unspecified-properties-position":"bottom"
68
+
]
69
+
}
70
+
```
71
+
72
+
Config for `3.x`:
73
+
74
+
```json
75
+
{
76
+
"properties-order": [
77
+
"margin",
78
+
"padding"
79
+
"border",
80
+
"background"
81
+
]
127
82
}
128
83
```
129
84
@@ -205,8 +160,6 @@ If you want format style sheets, use [perfectionist] or [stylefmt], also a PostC
205
160
[Sublime Text plugin]: https://github.com/hudochenkov/sublime-postcss-sorting
0 commit comments