Created
June 12, 2019 18:56
-
-
Save octoxan/1c0c24a75417f06096356e07d56be3c6 to your computer and use it in GitHub Desktop.
Stylelint Order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"order/properties-order": [ | |
"position", | |
"top", | |
"right", | |
"bottom", | |
"left", | |
"z-index", | |
"float", | |
"clear", | |
"display", | |
"box-sizing", | |
"overflow", | |
"width", | |
"min-width", | |
"max-width", | |
"height", | |
"min-height", | |
"max-height", | |
"margin", | |
"margin-top", | |
"margin-right", | |
"margin-bottom", | |
"margin-left", | |
"padding", | |
"padding-top", | |
"padding-right", | |
"padding-bottom", | |
"padding-left", | |
{ | |
order: "flexible", | |
properties: [ | |
"border", | |
"border-top", | |
"border-right", | |
"border-bottom", | |
"border-left", | |
"border-width", | |
"border-style", | |
"border-color", | |
"outline" | |
] | |
}, | |
{ | |
order: "flexible", | |
properties: [ | |
"font-size", | |
"font-weight", | |
"font-style", | |
"font-family", | |
"line-height" | |
] | |
}, | |
{ | |
order: "flexible", | |
properties: [ | |
"text-align", | |
"text-transform", | |
"text-decoration", | |
"text-indent" | |
] | |
}, | |
{ | |
order: "flexible", | |
properties: [ | |
"color", | |
"background", | |
"background-color", | |
"background-image", | |
"background-size" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment