-
Notifications
You must be signed in to change notification settings - Fork 2
/
stylelint.config.js
103 lines (94 loc) · 2.39 KB
/
stylelint.config.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
module.exports = {
"extends": "stylelint-config-sass-guidelines",
"rules": {
"comment-whitespace-inside": "always",
"declaration-no-important": true,
"font-family-name-quotes": "always-unless-keyword",
"function-parentheses-space-inside": "never-single-line",
"max-nesting-depth": 3,
"media-feature-range-operator-space-before": "always",
"media-feature-range-operator-space-after": "always",
"media-feature-parentheses-space-inside": "never",
"media-feature-colon-space-before": "never",
"media-feature-colon-space-after": "always",
"no-duplicate-selectors": true,
"order/order": [
"dollar-variables",
{
"type": "at-rule",
"name": "extend"
},
"custom-properties",
"declarations",
"at-rules",
"rules"
],
"order/properties-order": [
"content",
"display",
"align-items",
"align-content",
"align-self",
"justify-items",
"justify-content",
"justify-self",
"position",
"z-index",
"top",
"right",
"bottom",
"left",
"float",
"clear",
"visibility",
"opacity",
"transform",
"overflow",
"clip",
"box-sizing",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"margin",
"outline",
"border",
"border-radius",
"padding",
"font-size",
"line-height",
"font-family",
"font-weight",
"font-style",
"text-align",
"text-transform",
"word-spacing",
"color",
"background",
"box-shadow",
"cursor",
"animation",
"transition"
],
"order/properties-alphabetical-order": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/dollar-variable-pattern": "[a-zA-Z-]+",
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-attribute-quotes": "always",
"selector-class-pattern": "[a-z-_]+",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-no-qualifying-type": [
true,
{
"ignore": ["attribute", "class"]
}
],
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "double"
}
}