StyleLint config file
{
"rules": {
"declaration-colon-space-after": "always",
"indentation": ["tab"],
"max-empty-lines": 2,
"color-hex-case": "lower",
"color-hex-length": "short",
"number-leading-zero": "never",
"comment-empty-line-before": null,
"at-rule-empty-line-before": null,
"selector-pseudo-element-colon-notation": "single",
"no-eol-whitespace": true,
"selector-list-comma-newline-after": "always",
"at-rule-no-unknown": null,
"rule-nested-empty-line-before": null,
"declaration-colon-newline-after": null,
"declaration-block-no-ignored-properties": null,
"declaration-empty-line-before": null,
"rule-empty-line-before": null,
"declaration-block-no-duplicate-properties": [
true,
{
ignore: [
"consecutive-duplicates-with-different-values"
]
}
],
"declaration-block-properties-order":
[
{
properties: [
"position",
"top",
"right",
"bottom",
"left",
"z-index"
],
},
{
properties: [
"float",
"clear",
],
},
{
properties: [
"display",
"box-sizing",
"overflow",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height"
],
},
{
properties: [
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left"
],
},
{
properties: [
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left"
],
},
{
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"
],
}
]
}
}