-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.js
79 lines (70 loc) · 1.38 KB
/
.stylelintrc.js
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
70
71
72
73
74
75
76
77
78
79
module.exports = {
extends: ["stylelint-config-standard"],
plugins: ["stylelint-scss", "stylelint-order"],
rules: {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"order/properties-order" :[
// Box Model
"display",
"float",
"width",
"height",
"margin",
"padding",
// Positioning
"position",
"top",
"right",
"bottom",
"left",
"z-index",
// flex
"flex",
"flex-direction",
"flex-wrap",
"flex-flow",
"flex-basis",
"flex-grow",
"flex-shrink",
// grid
"grid-template-rows",
"grid-template-columns",
"grid-column",
"grid-column-start",
"grid-column-end",
"grid-row",
"grid-row-start",
"grid-row-end",
"grid-template-areas",
"grid-auto-flow",
"gap",
"row-gap",
"column-gap",
// sort
"place-items",
"place-content",
"place-self",
"justify-content",
"justify-items",
"justify-self",
"align-content",
"align-items",
"align-self",
// Typography
"color",
"font",
"line-height",
"text-align",
// Visual
"background-color",
"border",
"border-radius",
"opacity",
// Animation
"transition",
// Misc
"user_select"
],
}
};