]>
Commit | Line | Data |
---|---|---|
91e44d91 S |
1 | # Default application configuration that all configurations inherit from. |
2 | scss_files: | |
3 | - "**/*.scss" | |
4 | - "docs/assets/scss/**/*.scss" | |
5 | ||
6 | exclude: | |
7 | - "scss/_normalize.scss" | |
8 | ||
9 | plugin_directories: ['.scss-linters'] | |
10 | ||
11 | # List of gem names to load custom linters from (make sure they are already | |
12 | # installed) | |
13 | plugin_gems: [] | |
14 | ||
15 | # Default severity of all linters. | |
16 | severity: warning | |
17 | ||
18 | linters: | |
19 | BangFormat: | |
20 | enabled: true | |
21 | space_before_bang: true | |
22 | space_after_bang: false | |
23 | ||
24 | BemDepth: | |
25 | enabled: false | |
26 | max_elements: 1 | |
27 | ||
28 | BorderZero: | |
29 | enabled: true | |
30 | convention: zero # or `none` | |
31 | exclude: | |
32 | - _normalize.scss | |
33 | ||
34 | ChainedClasses: | |
35 | enabled: false | |
36 | ||
37 | ColorKeyword: | |
38 | enabled: true | |
39 | ||
40 | ColorVariable: | |
41 | enabled: false | |
42 | ||
43 | Comment: | |
44 | enabled: true | |
45 | exclude: | |
46 | - _normalize.scss | |
47 | - bootstrap.scss | |
48 | style: silent | |
49 | ||
50 | DebugStatement: | |
51 | enabled: true | |
52 | ||
53 | DeclarationOrder: | |
54 | enabled: false | |
55 | ||
56 | DisableLinterReason: | |
57 | enabled: false | |
58 | ||
59 | DuplicateProperty: | |
60 | enabled: true | |
61 | ||
62 | ElsePlacement: | |
63 | enabled: true | |
64 | style: same_line # or 'new_line' | |
65 | ||
66 | EmptyLineBetweenBlocks: | |
67 | enabled: false | |
68 | ignore_single_line_blocks: true | |
69 | ||
70 | EmptyRule: | |
71 | enabled: true | |
72 | ||
73 | ExtendDirective: | |
74 | enabled: false | |
75 | ||
76 | FinalNewline: | |
77 | enabled: true | |
78 | present: true | |
79 | ||
80 | HexLength: | |
81 | enabled: true | |
82 | style: short # or 'long' | |
83 | ||
84 | HexNotation: | |
85 | enabled: true | |
86 | style: lowercase # or 'uppercase' | |
87 | ||
88 | HexValidation: | |
89 | enabled: true | |
90 | ||
91 | IdSelector: | |
92 | enabled: true | |
93 | ||
94 | ImportantRule: | |
95 | enabled: false | |
96 | ||
97 | ImportPath: | |
98 | enabled: true | |
99 | leading_underscore: false | |
100 | filename_extension: false | |
101 | ||
102 | Indentation: | |
103 | enabled: true | |
104 | allow_non_nested_indentation: false | |
105 | character: space # or 'tab' | |
106 | width: 2 | |
107 | ||
108 | LeadingZero: | |
109 | enabled: true | |
110 | style: exclude_zero # or 'include_zero' | |
111 | exclude: | |
112 | - _normalize.scss | |
113 | ||
114 | MergeableSelector: | |
115 | enabled: false | |
116 | force_nesting: true | |
117 | ||
118 | NameFormat: | |
119 | enabled: true | |
120 | allow_leading_underscore: true | |
121 | convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern | |
122 | ||
123 | NestingDepth: | |
124 | enabled: true | |
125 | max_depth: 4 | |
126 | ignore_parent_selectors: false | |
127 | ||
128 | PlaceholderInExtend: | |
129 | enabled: false | |
130 | ||
131 | PropertyCount: | |
132 | enabled: false | |
133 | include_nested: false | |
134 | max_properties: 10 | |
135 | ||
136 | PropertySortOrder: | |
137 | enabled: true | |
138 | ignore_unspecified: false | |
139 | min_properties: 2 | |
140 | separate_groups: false | |
141 | exclude: | |
142 | - _normalize.scss | |
143 | order: | |
144 | - position | |
145 | - top | |
146 | - right | |
147 | - bottom | |
148 | - left | |
149 | - z-index | |
150 | - -webkit-box-sizing | |
151 | - -moz-box-sizing | |
152 | - box-sizing | |
153 | - display | |
154 | - flex | |
155 | - flex-align | |
156 | - flex-basis | |
157 | - flex-direction | |
158 | - flex-wrap | |
159 | - flex-flow | |
160 | - flex-grow | |
161 | - flex-order | |
162 | - flex-pack | |
163 | - align-items | |
164 | - align-self | |
165 | - justify-content | |
166 | - float | |
167 | - width | |
168 | - min-width | |
169 | - max-width | |
170 | - height | |
171 | - min-height | |
172 | - max-height | |
173 | - padding | |
174 | - padding-top | |
175 | - padding-right | |
176 | - padding-bottom | |
177 | - padding-left | |
178 | - margin | |
179 | - margin-top | |
180 | - margin-right | |
181 | - margin-bottom | |
182 | - margin-left | |
183 | - overflow | |
184 | - overflow-x | |
185 | - overflow-y | |
186 | - -webkit-overflow-scrolling | |
187 | - -ms-overflow-x | |
188 | - -ms-overflow-y | |
189 | - -ms-overflow-style | |
190 | - clip | |
191 | - clear | |
192 | - font | |
193 | - font-family | |
194 | - font-size | |
195 | - font-style | |
196 | - font-weight | |
197 | - font-variant | |
198 | - font-size-adjust | |
199 | - font-stretch | |
200 | - font-effect | |
201 | - font-emphasize | |
202 | - font-emphasize-position | |
203 | - font-emphasize-style | |
204 | - font-smooth | |
205 | - -webkit-hyphens | |
206 | - -moz-hyphens | |
207 | - hyphens | |
208 | - line-height | |
209 | - color | |
210 | - text-align | |
211 | - -webkit-text-align-last | |
212 | - -moz-text-align-last | |
213 | - -ms-text-align-last | |
214 | - text-align-last | |
215 | - text-emphasis | |
216 | - text-emphasis-color | |
217 | - text-emphasis-style | |
218 | - text-emphasis-position | |
219 | - text-decoration | |
220 | - text-indent | |
221 | - text-justify | |
222 | - text-outline | |
223 | - -ms-text-overflow | |
224 | - text-overflow | |
225 | - text-overflow-ellipsis | |
226 | - text-overflow-mode | |
227 | - text-shadow | |
228 | - text-transform | |
229 | - text-wrap | |
230 | - -webkit-text-size-adjust | |
231 | - -ms-text-size-adjust | |
232 | - letter-spacing | |
233 | - -ms-word-break | |
234 | - word-break | |
235 | - word-spacing | |
236 | - -ms-word-wrap | |
237 | - word-wrap | |
238 | - overflow-wrap | |
239 | - -moz-tab-size | |
240 | - -o-tab-size | |
241 | - tab-size | |
242 | - white-space | |
243 | - vertical-align | |
244 | - list-style | |
245 | - list-style-position | |
246 | - list-style-type | |
247 | - list-style-image | |
248 | - pointer-events | |
249 | - -ms-touch-action | |
250 | - touch-action | |
251 | - cursor | |
252 | - visibility | |
253 | - zoom | |
254 | - table-layout | |
255 | - empty-cells | |
256 | - caption-side | |
257 | - border-spacing | |
258 | - border-collapse | |
259 | - content | |
260 | - quotes | |
261 | - counter-reset | |
262 | - counter-increment | |
263 | - resize | |
264 | - -webkit-user-select | |
265 | - -moz-user-select | |
266 | - -ms-user-select | |
267 | - -o-user-select | |
268 | - user-select | |
269 | - nav-index | |
270 | - nav-up | |
271 | - nav-right | |
272 | - nav-down | |
273 | - nav-left | |
274 | - background | |
275 | - background-color | |
276 | - background-image | |
277 | - -ms-filter:\\'progid:DXImageTransform.Microsoft.gradient | |
278 | - filter:progid:DXImageTransform.Microsoft.gradient | |
279 | - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader | |
280 | - filter | |
281 | - background-repeat | |
282 | - background-attachment | |
283 | - background-position | |
284 | - background-position-x | |
285 | - background-position-y | |
286 | - -webkit-background-clip | |
287 | - -moz-background-clip | |
288 | - background-clip | |
289 | - background-origin | |
290 | - -webkit-background-size | |
291 | - -moz-background-size | |
292 | - -o-background-size | |
293 | - background-size | |
294 | - border | |
295 | - border-color | |
296 | - border-style | |
297 | - border-width | |
298 | - border-top | |
299 | - border-top-color | |
300 | - border-top-style | |
301 | - border-top-width | |
302 | - border-right | |
303 | - border-right-color | |
304 | - border-right-style | |
305 | - border-right-width | |
306 | - border-bottom | |
307 | - border-bottom-color | |
308 | - border-bottom-style | |
309 | - border-bottom-width | |
310 | - border-left | |
311 | - border-left-color | |
312 | - border-left-style | |
313 | - border-left-width | |
314 | - border-radius | |
315 | - border-top-left-radius | |
316 | - border-top-right-radius | |
317 | - border-bottom-right-radius | |
318 | - border-bottom-left-radius | |
319 | - -webkit-border-image | |
320 | - -moz-border-image | |
321 | - -o-border-image | |
322 | - border-image | |
323 | - -webkit-border-image-source | |
324 | - -moz-border-image-source | |
325 | - -o-border-image-source | |
326 | - border-image-source | |
327 | - -webkit-border-image-slice | |
328 | - -moz-border-image-slice | |
329 | - -o-border-image-slice | |
330 | - border-image-slice | |
331 | - -webkit-border-image-width | |
332 | - -moz-border-image-width | |
333 | - -o-border-image-width | |
334 | - border-image-width | |
335 | - -webkit-border-image-outset | |
336 | - -moz-border-image-outset | |
337 | - -o-border-image-outset | |
338 | - border-image-outset | |
339 | - -webkit-border-image-repeat | |
340 | - -moz-border-image-repeat | |
341 | - -o-border-image-repeat | |
342 | - border-image-repeat | |
343 | - outline | |
344 | - outline-width | |
345 | - outline-style | |
346 | - outline-color | |
347 | - outline-offset | |
348 | - -webkit-box-shadow | |
349 | - -moz-box-shadow | |
350 | - box-shadow | |
351 | - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity | |
352 | - -ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha | |
353 | - opacity | |
354 | - -ms-interpolation-mode | |
355 | - -webkit-transition | |
356 | - -moz-transition | |
357 | - -ms-transition | |
358 | - -o-transition | |
359 | - transition | |
360 | - -webkit-transition-delay | |
361 | - -moz-transition-delay | |
362 | - -ms-transition-delay | |
363 | - -o-transition-delay | |
364 | - transition-delay | |
365 | - -webkit-transition-timing-function | |
366 | - -moz-transition-timing-function | |
367 | - -ms-transition-timing-function | |
368 | - -o-transition-timing-function | |
369 | - transition-timing-function | |
370 | - -webkit-transition-duration | |
371 | - -moz-transition-duration | |
372 | - -ms-transition-duration | |
373 | - -o-transition-duration | |
374 | - transition-duration | |
375 | - -webkit-transition-property | |
376 | - -moz-transition-property | |
377 | - -ms-transition-property | |
378 | - -o-transition-property | |
379 | - transition-property | |
380 | - -webkit-transform | |
381 | - -moz-transform | |
382 | - -ms-transform | |
383 | - -o-transform | |
384 | - transform | |
385 | - -webkit-transform-origin | |
386 | - -moz-transform-origin | |
387 | - -ms-transform-origin | |
388 | - -o-transform-origin | |
389 | - transform-origin | |
390 | - -webkit-animation | |
391 | - -moz-animation | |
392 | - -ms-animation | |
393 | - -o-animation | |
394 | - animation | |
395 | - -webkit-animation-name | |
396 | - -moz-animation-name | |
397 | - -ms-animation-name | |
398 | - -o-animation-name | |
399 | - animation-name | |
400 | - -webkit-animation-duration | |
401 | - -moz-animation-duration | |
402 | - -ms-animation-duration | |
403 | - -o-animation-duration | |
404 | - animation-duration | |
405 | - -webkit-animation-play-state | |
406 | - -moz-animation-play-state | |
407 | - -ms-animation-play-state | |
408 | - -o-animation-play-state | |
409 | - animation-play-state | |
410 | - -webkit-animation-timing-function | |
411 | - -moz-animation-timing-function | |
412 | - -ms-animation-timing-function | |
413 | - -o-animation-timing-function | |
414 | - animation-timing-function | |
415 | - -webkit-animation-delay | |
416 | - -moz-animation-delay | |
417 | - -ms-animation-delay | |
418 | - -o-animation-delay | |
419 | - animation-delay | |
420 | - -webkit-animation-iteration-count | |
421 | - -moz-animation-iteration-count | |
422 | - -ms-animation-iteration-count | |
423 | - -o-animation-iteration-count | |
424 | - animation-iteration-count | |
425 | - -webkit-animation-direction | |
426 | - -moz-animation-direction | |
427 | - -ms-animation-direction | |
428 | - -o-animation-direction | |
429 | ||
430 | ||
431 | PropertySpelling: | |
432 | enabled: true | |
433 | extra_properties: [] | |
434 | disabled_properties: [] | |
435 | ||
436 | PropertyUnits: | |
437 | enabled: true | |
438 | global: [ | |
439 | 'ch', 'em', 'ex', 'rem', # Font-relative lengths | |
440 | 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths | |
441 | 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths | |
442 | 'deg', 'grad', 'rad', 'turn', # Angle | |
443 | 'ms', 's', # Duration | |
444 | 'Hz', 'kHz', # Frequency | |
445 | 'dpi', 'dpcm', 'dppx', # Resolution | |
446 | '%'] # Other | |
447 | properties: {} | |
448 | ||
449 | PseudoElement: | |
450 | enabled: true | |
451 | ||
452 | QualifyingElement: | |
453 | enabled: true | |
454 | allow_element_with_attribute: false | |
455 | allow_element_with_class: false | |
456 | allow_element_with_id: false | |
457 | ||
458 | SelectorDepth: | |
459 | enabled: true | |
460 | max_depth: 4 | |
461 | ||
462 | SelectorFormat: | |
463 | enabled: false | |
464 | convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern | |
465 | ||
466 | Shorthand: | |
467 | enabled: true | |
468 | allowed_shorthands: [1, 2, 3, 4] | |
469 | ||
470 | SingleLinePerProperty: | |
471 | enabled: false | |
472 | allow_single_line_rule_sets: true | |
473 | ||
474 | SingleLinePerSelector: | |
475 | enabled: false | |
476 | ||
477 | SpaceAfterComma: | |
478 | enabled: false | |
479 | style: one_space # or 'no_space', or 'at_least_one_space' | |
480 | ||
481 | SpaceAfterPropertyColon: | |
482 | enabled: true | |
483 | style: at_least_one_space # or 'no_space', or 'at_least_one_space', or 'aligned' | |
484 | ||
485 | SpaceAfterPropertyName: | |
486 | enabled: true | |
487 | ||
488 | SpaceAfterVariableName: | |
489 | enabled: true | |
490 | ||
491 | SpaceAroundOperator: | |
492 | enabled: true | |
493 | style: one_space # or 'at_least_one_space', or 'no_space' | |
494 | ||
495 | SpaceBeforeBrace: | |
496 | enabled: true | |
497 | style: space # or 'new_line' | |
498 | allow_single_line_padding: true | |
499 | ||
500 | SpaceBetweenParens: | |
501 | enabled: true | |
502 | spaces: 0 | |
503 | ||
504 | StringQuotes: | |
505 | enabled: true | |
506 | style: double_quotes # or double_quotes | |
507 | ||
508 | TrailingSemicolon: | |
509 | enabled: true | |
510 | ||
511 | TrailingWhitespace: | |
512 | enabled: true | |
513 | ||
514 | TrailingZero: | |
515 | enabled: false | |
516 | ||
517 | TransitionAll: | |
518 | enabled: false | |
519 | ||
520 | UnnecessaryMantissa: | |
521 | enabled: true | |
522 | ||
523 | UnnecessaryParentReference: | |
524 | enabled: true | |
525 | ||
526 | UrlFormat: | |
527 | enabled: true | |
528 | ||
529 | UrlQuotes: | |
530 | enabled: true | |
531 | ||
532 | VariableForProperty: | |
533 | enabled: false | |
534 | properties: [] | |
535 | ||
536 | VendorPrefix: | |
537 | enabled: true | |
538 | identifier_list: base | |
539 | additional_identifiers: [] | |
540 | excluded_identifiers: [] | |
541 | exclude: | |
542 | - _normalize.scss | |
543 | ||
544 | ZeroUnit: | |
545 | enabled: true | |
546 | ||
547 | Compass::*: | |
548 | enabled: false |