Skip to content

Commit 02d75a9

Browse files
chore(,stylelintrc.json): add lint.
1 parent c2088cd commit 02d75a9

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed

.stylelintrc.json

Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{
2+
"extends": [
3+
"stylelint-config-standard-scss",
4+
"stylelint-config-prettier-scss"
5+
],
6+
"plugins": ["stylelint-order"],
7+
"rules": {
8+
"at-rule-no-unknown": null,
9+
"order/order": [
10+
[
11+
"dollar-variables",
12+
"custom-properties",
13+
"declarations",
14+
{
15+
"type": "at-rule",
16+
"name": "supports"
17+
},
18+
{
19+
"type": "at-rule",
20+
"name": "media"
21+
},
22+
"rules"
23+
],
24+
{ "severity": "warning" }
25+
],
26+
"order/properties-order": [
27+
[
28+
"content",
29+
"position",
30+
"inset",
31+
"top",
32+
"right",
33+
"bottom",
34+
"left",
35+
"z-index",
36+
"display",
37+
"vertical-align",
38+
"flex",
39+
"flex-grow",
40+
"flex-shrink",
41+
"flex-basis",
42+
"flex-direction",
43+
"flex-flow",
44+
"flex-wrap",
45+
"grid",
46+
"grid-area",
47+
"grid-template",
48+
"grid-template-areas",
49+
"grid-template-rows",
50+
"grid-template-columns",
51+
"grid-row",
52+
"grid-row-start",
53+
"grid-row-end",
54+
"grid-column",
55+
"grid-column-start",
56+
"grid-column-end",
57+
"grid-auto-rows",
58+
"grid-auto-columns",
59+
"grid-auto-flow",
60+
"grid-gap",
61+
"grid-row-gap",
62+
"grid-column-gap",
63+
"gap",
64+
"row-gap",
65+
"column-gap",
66+
"place-content",
67+
"align-content",
68+
"justify-content",
69+
"place-items",
70+
"align-items",
71+
"justify-items",
72+
"place-self",
73+
"align-self",
74+
"justify-self",
75+
"order",
76+
"float",
77+
"clear",
78+
"object-fit",
79+
"object-position",
80+
"overflow",
81+
"overflow-x",
82+
"overflow-y",
83+
"overflow-scrolling",
84+
"clip",
85+
86+
"box-sizing",
87+
"width",
88+
"min-width",
89+
"max-width",
90+
"height",
91+
"min-height",
92+
"max-height",
93+
"margin",
94+
"margin-inline",
95+
"margin-block",
96+
"margin-top",
97+
"margin-right",
98+
"margin-bottom",
99+
"margin-left",
100+
"padding",
101+
"padding-inline",
102+
"padding-block",
103+
"padding-top",
104+
"padding-right",
105+
"padding-bottom",
106+
"padding-left",
107+
"border",
108+
"border-spacing",
109+
"border-collapse",
110+
"border-width",
111+
"border-style",
112+
"border-color",
113+
"border-top",
114+
"border-top-width",
115+
"border-top-style",
116+
"border-top-color",
117+
"border-right",
118+
"border-right-width",
119+
"border-right-style",
120+
"border-right-color",
121+
"border-bottom",
122+
"border-bottom-width",
123+
"border-bottom-style",
124+
"border-bottom-color",
125+
"border-left",
126+
"border-left-width",
127+
"border-left-style",
128+
"border-left-color",
129+
"border-radius",
130+
"border-top-left-radius",
131+
"border-top-right-radius",
132+
"border-bottom-right-radius",
133+
"border-bottom-left-radius",
134+
"border-image",
135+
"border-image-source",
136+
"border-image-slice",
137+
"border-image-width",
138+
"border-image-outset",
139+
"border-image-repeat",
140+
"border-top-image",
141+
"border-right-image",
142+
"border-bottom-image",
143+
"border-left-image",
144+
"border-corner-image",
145+
"border-top-left-image",
146+
"border-top-right-image",
147+
"border-bottom-right-image",
148+
"border-bottom-left-image",
149+
150+
"background",
151+
"background-color",
152+
"background-image",
153+
"background-attachment",
154+
"background-position",
155+
"background-position-x",
156+
"background-position-y",
157+
"background-clip",
158+
"background-origin",
159+
"background-size",
160+
"background-repeat",
161+
"color",
162+
"box-decoration-break",
163+
"box-shadow",
164+
"outline",
165+
"outline-width",
166+
"outline-style",
167+
"outline-color",
168+
"outline-offset",
169+
"table-layout",
170+
"caption-side",
171+
"empty-cells",
172+
"list-style",
173+
"list-style-position",
174+
"list-style-type",
175+
"list-style-image",
176+
177+
"font",
178+
"font-weight",
179+
"font-style",
180+
"font-variant",
181+
"font-size-adjust",
182+
"font-stretch",
183+
"font-size",
184+
"font-family",
185+
"src",
186+
"line-height",
187+
"letter-spacing",
188+
"quotes",
189+
"counter-increment",
190+
"counter-reset",
191+
"-ms-writing-mode",
192+
"text-align",
193+
"text-align-last",
194+
"text-decoration",
195+
"text-emphasis",
196+
"text-emphasis-position",
197+
"text-emphasis-style",
198+
"text-emphasis-color",
199+
"text-indent",
200+
"text-justify",
201+
"text-outline",
202+
"text-transform",
203+
"text-wrap",
204+
"text-overflow",
205+
"text-overflow-ellipsis",
206+
"text-overflow-mode",
207+
"text-shadow",
208+
"white-space",
209+
"word-spacing",
210+
"word-wrap",
211+
"word-break",
212+
"overflow-wrap",
213+
"tab-size",
214+
"hyphens",
215+
"interpolation-mode",
216+
217+
"opacity",
218+
"visibility",
219+
"filter",
220+
"resize",
221+
"cursor",
222+
"pointer-events",
223+
"user-select",
224+
225+
"unicode-bidi",
226+
"direction",
227+
"columns",
228+
"column-span",
229+
"column-width",
230+
"column-count",
231+
"column-fill",
232+
"column-gap",
233+
"column-rule",
234+
"column-rule-width",
235+
"column-rule-style",
236+
"column-rule-color",
237+
"break-before",
238+
"break-inside",
239+
"break-after",
240+
"page-break-before",
241+
"page-break-inside",
242+
"page-break-after",
243+
"orphans",
244+
"widows",
245+
"zoom",
246+
"max-zoom",
247+
"min-zoom",
248+
"user-zoom",
249+
"orientation",
250+
"fill",
251+
"stroke",
252+
253+
"transition",
254+
"transition-delay",
255+
"transition-timing-function",
256+
"transition-duration",
257+
"transition-property",
258+
"transform",
259+
"transform-origin",
260+
"animation",
261+
"animation-name",
262+
"animation-duration",
263+
"animation-play-state",
264+
"animation-timing-function",
265+
"animation-delay",
266+
"animation-iteration-count",
267+
"animation-direction",
268+
"animation-fill-mode"
269+
],
270+
{
271+
"unspecified": "bottom",
272+
"severity": "warning"
273+
}
274+
]
275+
}
276+
}

0 commit comments

Comments
 (0)