-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
69 lines (69 loc) · 1.49 KB
/
.stylelintrc.json
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
68
69
{
"extends": ["stylelint-config-standard", "stylelint-order"],
"plugins": ["stylelint-order"],
"rules": {
"declaration-block-no-duplicate-properties": true,
"no-duplicate-selectors": true,
"property-no-unknown": true,
"comment-no-empty": true,
"no-descending-specificity": null,
"custom-property-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Expected custom property name to be kebab-case"
}
],
"order/properties-order": [
"position",
"top",
"right",
"bottom",
"left",
"z-index",
"display",
"flex",
"flex-direction",
"flex-wrap",
"align-items",
"justify-content",
"align-self",
"align-content",
"grid",
"grid-template",
"grid-template-areas",
"grid-template-rows",
"grid-template-columns",
"grid-area",
"grid-column",
"grid-row",
"gap",
"width",
"height",
"max-width",
"max-height",
"min-width",
"min-height",
"margin",
"padding",
"border",
"border-radius",
"box-shadow",
"color",
"font",
"font-size",
"font-weight",
"line-height",
"text-align",
"text-decoration",
"text-transform",
"letter-spacing",
"word-spacing",
"background",
"background-color",
"background-image",
"background-repeat",
"background-position",
"background-size"
]
}
}