forked from v3ga/murmur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
67 lines (64 loc) · 4.09 KB
/
.stylelintrc
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"extends": "stylelint-config-standard-scss",
"plugins": [
"stylelint-scss",
"stylelint-order"
],
"rules": {
"selector-class-pattern": false,
"no-descending-specificity": false,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": false,
"declaration-block-trailing-semicolon": "always",
"custom-property-empty-line-before": false,
"declaration-empty-line-before": false,
"scss/at-mixin-parentheses-space-before": false,
"order/order": [
{ "type": "at-rule" },
{ "type": "at-rule", "name": "mixin" },
{ "type": "at-rule", "name": "extend" },
{ "type": "at-rule", "name": "include", "hasBlock": false },
"dollar-variables",
"custom-properties",
"declarations",
{ "type": "at-rule", "name": "media" },
{ "type": "at-rule", "name": "include", "hasBlock": true },
{ "type": "at-rule", "name": "if" },
{ "type": "at-rule", "name": "else" },
"rules"
],
"order/properties-order": [
[
{
"groupName": "Position",
"noEmptyLineBetween": true,
"emptyLineBefore": "threshold",
"properties": ["position", "z-index", "inset", "top", "right", "bottom", "left", ]
},
{
"groupName": "Box model",
"noEmptyLineBetween": true,
"emptyLineBefore": "threshold",
"properties": ["display", "float", "width", "height", "max-width", "max-height", "min-width", "min-height", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "margin-collapse", "margin-top-collapse", "margin-right-collapse", "margin-bottom-collapse", "margin-left-collapse", "overflow", "overflow-x", "overflow-y", "clip", "clear"]
},
{
"groupName": "Typography",
"noEmptyLineBetween": true,
"emptyLineBefore": "threshold",
"properties": ["font", "font-family", "font-size", "font-smoothing", "osx-font-smoothing", "font-style", "font-weight", "hyphens", "src", "line-height", "letter-spacing", "word-spacing", "color", "text-align", "text-decoration", "text-indent", "text-overflow", "text-rendering", "text-size-adjust", "text-shadow", "text-transform", "word-break", "word-wrap", "white-space", "vertical-align", "list-style", "list-style-type", "list-style-position", "list-style-image", "pointer-events", "cursor", ]
},
{
"groupName": "Cosmetics",
"noEmptyLineBetween": true,
"emptyLineBefore": "threshold",
"properties": ["background", "background-attachment", "background-color", "background-image", "background-position", "background-repeat", "background-size", "border", "border-collapse", "border-top", "border-right", "border-bottom", "border-left", "border-color", "border-image", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "border-spacing", "border-style", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", "border-width", "border-top-width", "border-right-width", "border-bottom-width", "border-left-width", "border-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius", "border-top-left-radius", "border-radius-topright", "border-radius-bottomright", "border-radius-bottomleft", "border-radius-topleft", "quotes", "outline", "outline-offset", "opacity", "filter", "visibility", "size", "zoom", "transform", "box-align", "box-flex", "box-orient", "box-pack", "box-shadow", "box-sizing", "table-layout", "animation", "animation-delay", "animation-duration", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timing-function", "animation-fill-mode", "transition", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "background-clip", "backface-visibility", "resize", "appearance", "user-select"]
}
],
{
"unspecified": "ignore",
"emptyLineBeforeUnspecified": "threshold",
"emptyLineMinimumPropertyThreshold": 6
}
]
}
}