-
Notifications
You must be signed in to change notification settings - Fork 23
/
.sass-lint.yml
55 lines (54 loc) · 1017 Bytes
/
.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
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# Set the formatter to 'html'
formatter: html
# Output file instead of logging results
output-file: 'linters/sass-lint.html'
# File Options
files:
include: 'client/assets/**/*.s+(a|c)ss'
# Rule Configuration
rules:
brace-style:
style: 1tbs
class-name-format:
allow-leading-underscore: false
convention: hyphenatedlowercase
extends-before-mixins: 2
extends-before-declarations: 2
leading-zero:
include: false
placeholder-in-extend: 2
mixins-before-declarations:
- 2
-
exclude:
- breakpoint
- mq
no-warn: 1
no-debug: 1
no-ids: 0
no-important: 2
hex-notation:
- 2
-
style: lowercase
indentation:
- 2
-
size: 2
property-sort-order:
- 1
-
order:
- display
- margin
ignore-custom-properties: true
variable-for-property:
- 2
-
properties:
- margin
- content