forked from colourgarden/avalanche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scss-lint.yml
188 lines (171 loc) · 3.6 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
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
# Extension of the default configuration:
# https://github.com/causes/scss-lint/blob/master/config/default.yml
linters:
Comment:
enabled: false
DeclarationOrder:
enabled: true
ElsePlacement:
enabled: true
style: new_line
EmptyRule:
enabled: false
HexLength:
enabled: true
style: long
Indentation:
enabled: true
allow_non_nested_indentation: true
character: space
width: 4
LeadingZero:
enabled: true
style: include_zero
MergeableSelector:
enabled: true
force_nesting: false
PropertySortOrder:
enabled: true
ignore_unspecified: false
separate_groups: false
order:
- display
-
- position
- top
- right
- bottom
- left
- z-index
-
- margin
- margin-top
- margin-right
- margin-bottom
- margin-left
-
- margin-collapse
- margin-top-collapse
- margin-right-collapse
- margin-bottom-collapse
- margin-left-collapse
-
- padding
- padding-top
- padding-right
- padding-bottom
- padding-left
-
- width
- height
- max-width
- max-height
- min-width
- min-height
-
- float
- clear
-
- color
-
- font
- font-size
- font-style
- font-family
- font-weight
- font-variant
- font-smoothing
-
- line-height
- letter-spacing
- word-spacing
-
- text-align
- text-indent
- text-shadow
- text-overflow
- text-rendering
- text-transform
- text-decoration
- text-size-adjust
-
- word-break
- word-wrap
-
- white-space
-
- background
- background-size
- background-color
- background-image
- background-repeat
- background-position
- background-attachment
-
- border
- border-top
- border-right
- border-bottom
- border-left
-
- border-image
- border-spacing
- border-collapse
-
- border-color
- border-top-color
- border-right-color
- border-bottom-color
- border-left-color
-
- border-style
- border-top-style
- border-right-style
- border-bottom-style
- border-left-style
-
- border-width
- border-top-width
- border-right-width
- border-bottom-width
- border-left-width
-
- border-radius
- border-top-right-radius
- border-bottom-right-radius
- border-bottom-left-radius
- border-top-left-radius
- border-radius-topright
- border-radius-bottomright
- border-radius-bottomleft
- border-radius-topleft
-
- box-shadow
SelectorFormat:
enabled: true
convention: hyphenated_BEM
SingleLinePerSelector:
enabled: false
SpaceAfterPropertyColon:
enabled: true
style: at_least_one_space
SpaceBeforeBrace:
enabled: true
style: space
allow_single_line_padding: true
VariableForProperty:
enabled: true
properties:
- color
- font-family
- background-color
# These default settings may be problematic to implementors. They are not
# ommitted so that they may be adjusted as needed during an implementation.
#
# For documentation:
# https://github.com/causes/scss-lint/blob/master/lib/scss_lint/linter/README.md
DuplicateProperty:
enabled: true
PropertySpelling:
enabled: true
extra_properties: [] # Add experimental CSS to this array, if needed