-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
162 lines (162 loc) · 4.07 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-recommended-scss",
"stylelint-config-standard"
],
"plugins": [
"stylelint-scss",
"stylelint-high-performance-animation",
"stylelint-order"
],
"defaultSeverity": "error",
"rules": {
"selector-type-no-unknown": [
true,
{
"ignore": [
"custom-elements"
]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": [
"cue"
]
}
],
"block-no-empty": null,
"no-descending-specificity": null,
"declaration-colon-space-before": "never",
"no-empty-source": null,
"color-hex-case": "upper",
"color-hex-length": "long",
"indentation": 2,
"string-quotes": "single",
"selector-attribute-quotes": "never",
"function-url-quotes": null,
"font-family-name-quotes": "always-unless-keyword",
"at-rule-no-vendor-prefix": null,
"at-rule-no-unknown": null,
"media-feature-name-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"max-nesting-depth": 9,
"selector-max-compound-selectors": null,
"color-named": "never",
"color-no-hex": null,
"at-rule-empty-line-before": [
"always",
{
"except": [
"inside-block",
"blockless-after-same-name-blockless"
]
}
],
"block-closing-brace-newline-after": [
"always",
{
"ignoreAtRules": [
"if"
]
}
],
"unit-whitelist": [
"em",
"rem",
"px",
"%",
"vh"
],
"scss/at-else-empty-line-before": "never",
"scss/at-function-named-arguments": null,
"scss/at-function-parentheses-space-before": "never",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-named-arguments": null,
"scss/at-mixin-parentheses-space-before": "never",
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/double-slash-comment-empty-line-before": [
"always",
{
"ignore": [
"between-comments"
]
}
],
"scss/double-slash-comment-inline": "never",
"scss/double-slash-comment-whitespace-inside": "always",
"scss/declaration-nested-properties": "never",
"scss/at-each-key-value-single-line": true,
"scss/function-quote-no-quoted-strings-inside": true,
"scss/selector-no-union-class-name": true,
"scss/function-color-relative": null,
"scss/comment-no-loud": true,
"scss/map-keys-quotes": "always",
"scss/no-duplicate-mixins": true,
"plugin/no-low-performance-animation-properties": true,
"order/order": [
[
"at-rules",
"custom-properties",
"dollar-variables",
"declarations",
"rules"
],
{
"unspecified": "bottom"
}
],
"order/properties-order": [
[
"position",
"display",
"flex-direction",
"justify-content",
"align-items",
"height",
"min-height",
"max-height",
"width",
"min-width",
"max-width",
"color",
"background-color",
"font-family",
"font-weight",
"font-style",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"box-sizing",
"border",
"border-top",
"border-right",
"border-bottom",
"border-left",
"border-radius",
"outline",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"z-index",
"scroll-behavior"
],
{
"unspecified": "bottomAlphabetical",
"emptyLineBeforeUnspecified": "never"
}
],
"order/properties-alphabetical-order": null
}
}