forked from open-indy/Koa11y
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sass-lint.yml
220 lines (220 loc) · 4.73 KB
/
.sass-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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#########################
## TJW Sass Lint File
#########################
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# Raise an error if more than 50 warnings are generated
max-warnings: 50
formatter: json
# File Options
files:
include: '_sass/*.s+(a|c)ss'
# Rule Configuration
rules:
attribute-quotes: 2
brace-style:
- 2
- allow-single-line: false
- style: '1tbs'
declarations-before-nesting: 2
empty-args:
- 2
- include: false
extends-before-declarations: 2
extends-before-mixins: 2
final-newline:
- 2
- include: true
hex-length:
- 2
- style: short
hex-notation:
- 2
- style: uppercase
indentation:
- 2
- size: 4
leading-zero:
- 2
- include: true
mixins-before-declarations:
- 2
- exclude:
- breakpoint
- mq
no-color-keywords: 1
no-debug: 1
no-duplicate-properties: 2
no-empty-rulesets: 2
no-important: 2
no-invalid-hex: 1
no-mergeable-selectors: 2
no-misspelled-properties: 1
no-qualifying-elements:
- 2
- allow-element-with-attribute: true
- allow-element-with-class: false
- allow-element-with-id: false
no-trailing-whitespace: 1
no-warn: 1
placeholder-in-extend: 2
property-sort-order:
- 1
- order:
# Effects if the element exists
- content
# Highest effect of where pixel painting begins
- position
- top
- right
- bottom
- left
# How the element is displayed
- display
- align-content
- align-items
- align-self
- flex-basis
- flex-direction
- flex-flow
- flex-grow
- flex-shrink
- flex-wrap
- flex
- justify-content
- order
# Overall size, max amount of pixels that can be painted
- width
- height
- min-width
- min-height
- max-width
- max-height
# Effects the most amount of pixel paint in the element
- background
- background-color
- background-image
- background-position
- background-repeat
- background-size
# Box model
- border
- border-width
- border-style
- border-color
- border-top
- border-top-width
- border-top-style
- border-top-color
- border-right
- border-right-width
- border-right-style
- border-right-color
- border-bottom
- border-bottom-width
- border-bottom-style
- border-bottom-color
- border-left
- border-left-width
- border-left-style
- border-left-color
- border-radius
- border-top-left-radius
- border-top-right-radius
- border-bottom-right-radius
- border-bottom-left-radius
- margin
- margin-top
- margin-right
- margin-bottom
- margin-left
- padding
- padding-top
- padding-right
- padding-bottom
- padding-left
# Text treatment
- color
- direction
- font-family
- font-size
- -webkit-font-smoothing
- font-smoothing
- font-style
- font-weight
- font-variant
- letter-spacing
- line-height
- list-style
- list-style-image
- list-style-position
- list-style-type
- speak
- src
- text-align
- text-decoration
- text-overflow
- text-rendering
- text-shadow
- text-transform
- unicode-bidi
- unicode-range
- white-space
- word-break
# Less common properties go to the bottom
- box-shadow
- clear
- cursor
- -webkit-filter
- filter
- float
- opacity
- outline
- outline-offset
- overflow
- overflow-x
- overflow-y
- perspective
- pointer-events
- -webkit-transform
- transform
- -webkit-transition
- transition
- vertical-align
- visibility
- z-index
ignore-custom-properties: true
single-line-per-selector: 1
space-after-bang:
- 2
- include: false
space-after-colon:
- 1
- include: true
space-after-comma:
- 1
- include: true
space-around-operator:
- 1
- include: true
space-before-bang:
- 1
- include: true
space-before-brace:
- 1
- include: true
space-before-colon:
- 1
- include: false
space-between-parens:
- 1
- include: false
trailing-semicolon:
- 1
- include: true
url-quotes: 1
zero-unit:
- 1
- include: true