/
.stylelintrc.js
210 lines (209 loc) · 6.98 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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
'use strict'
module.exports = {
extends: ['stylelint-config-standard-scss'],
plugins: ['stylelint-order', 'stylelint-scss'],
rules: {
'at-rule-no-unknown': null,
'at-rule-empty-line-before': [
'always',
{
except: ['blockless-after-same-name-blockless', 'first-nested'],
ignore: ['after-comment'],
ignoreAtRules: ['else'],
},
],
'color-function-notation': 'legacy',
'color-hex-length': 'long',
'custom-property-empty-line-before': null,
'declaration-block-no-redundant-longhand-properties': null,
'declaration-empty-line-before': 'never',
'font-family-no-duplicate-names': null,
'media-feature-range-notation': 'prefix',
'no-descending-specificity': null,
'number-max-precision': null,
'property-no-vendor-prefix': null,
'scss/at-rule-no-unknown': true,
'scss/at-else-closing-brace-space-after': 'always-intermediate',
'scss/at-else-closing-brace-newline-after': 'always-last-in-chain',
'scss/at-else-empty-line-before': 'never',
'scss/at-if-closing-brace-space-after': 'always-intermediate',
'scss/at-if-closing-brace-newline-after': 'always-last-in-chain',
'scss/comment-no-empty': null,
'selector-class-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
'selector-id-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
'selector-not-notation': 'simple',
'value-keyword-case': null,
'order/order': ['dollar-variables', 'custom-properties', 'declarations', 'rules', 'at-rules'],
'order/properties-order': [
[
'content',
'src',
'position',
'top',
'bottom',
'left',
'right',
'z-index',
'clear',
'float',
'display',
'appearance',
'vertical-align',
'visibility',
'opacity',
'overflow',
'overflow-x',
'overflow-y',
'cursor',
'pointer-events',
'user-select',
'speak',
'speak-as',
'grid-template',
'grid-template-columns',
'grid-template-rows',
'grid-template-areas',
'grid-column',
'grid-column-start',
'grid-column-end',
'grid-row',
'grid-row-start',
'grid-row-end',
'grid-area',
'grid-auto-flow',
'flex',
'flex-direction',
'flex-wrap',
'flex-basis',
'flex-grow',
'flex-shrink',
'gap',
'column-gap',
'row-gap',
'align-content',
'align-items',
'align-self',
'justify-content',
'justify-items',
'justify-self',
'place-content',
'place-items',
'place-self',
'width',
'max-width',
'min-width',
'height',
'max-height',
'min-height',
'aspect-ratio',
'margin',
'margin-top',
'margin-bottom',
'margin-left',
'margin-right',
'padding',
'padding-top',
'padding-bottom',
'padding-left',
'padding-right',
'direction',
'font',
'font-display',
'font-family',
'font-size',
'font-style',
'font-variant',
'font-weight',
'letter-spacing',
'line-height',
'text-align',
'text-decoration',
'text-transform',
'white-space',
'word-break',
'word-spacing',
'word-wrap',
'fill',
'color',
'mask',
'mask-clip',
'mask-composite',
'mask-mode',
'mask-origin',
'mask-position',
'mask-repeat',
'mask-size',
'mask-image',
'mask-border',
'mask-border-mode',
'mask-border-repeat',
'mask-border-slice',
'mask-border-source',
'mask-border-width',
'background',
'background-position',
'background-repeat',
'background-size',
'background-blend-mode',
'background-color',
'background-image',
'border',
'border-collapse',
'border-inline',
'border-radius',
'border-style',
'border-width',
'border-color',
'border-image',
'border-image-outset',
'border-image-repeat',
'border-image-slice',
'border-image-source',
'border-image-width',
'border-top',
'border-top-style',
'border-top-width',
'border-top-color',
'border-bottom',
'border-bottom-style',
'border-bottom-width',
'border-bottom-color',
'border-left',
'border-left-style',
'border-left-width',
'border-left-color',
'border-right',
'border-right-style',
'border-right-width',
'border-right-color',
'border-top-left-radius',
'border-top-right-radius',
'border-bottom-left-radius',
'border-bottom-right-radius',
'box-shadow',
'box-sizing',
'outline',
'outline-style',
'outline-width',
'outline-color',
'list-style',
'list-style-image',
'list-style-position',
'list-style-type',
'transform',
'transform-box',
'transform-origin',
'transform-style',
'animation',
'animation-delay',
'transition',
'transition-duration',
'transition-property',
'transition-timing-function',
'will-change',
'clip-path',
],
{ unspecified: 'bottomAlphabetical' },
],
},
}