-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scss-lint.yml
103 lines (72 loc) · 1.53 KB
/
.scss-lint.yml
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
# Default application configuration that all configurations inherit from.
linters:
BorderZero:
enabled: true
CapitalizationInSelector:
enabled: false
ColorKeyword:
enabled: false
# our block comments get stripped out anyway, and $wgCdnStylePath uses them
Comment:
enabled: false
DebugStatement:
enabled: true
DeclarationOrder:
enabled: true
DuplicateProperty:
enabled: true
EmptyLineBetweenBlocks:
enabled: true
EmptyRule:
enabled: true
HexFormat:
enabled: true
HexNotation:
enabled: false
IdWithExtraneousSelector:
enabled: true
# doesn't support tabs
Indentation:
enabled: false
LeadingZero:
enabled: true
NameFormat:
enabled: true
PlaceholderInExtend:
enabled: true
PropertySortOrder:
enabled: true
PropertySpelling:
enabled: true
extra_properties: []
SelectorDepth:
enabled: true
max_depth: 4 # was 3 but I found a possible legit use case for 4 in article.scss .toc
SelectorFormat:
enabled: false
Shorthand:
enabled: true
SingleLinePerSelector:
enabled: false
SpaceAfterComma:
enabled: true
SpaceAfterPropertyColon:
enabled: true
SpaceAfterPropertyName:
enabled: true
SpaceBeforeBrace:
enabled: true
SpaceBetweenParens:
enabled: true
spaces: 0
StringQuotes:
enabled: true
style: single_quotes
TrailingSemicolonAfterPropertyValue:
enabled: true
UrlQuotes:
enabled: true
ZeroUnit:
enabled: true
Compass::*:
enabled: false