-
Notifications
You must be signed in to change notification settings - Fork 20
/
.sass-lint.yml
64 lines (64 loc) · 1.3 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
#########################
## Sample Sass Lint File
#########################
# 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:
ignore:
- 'src/sass/vendor/**/*.*'
- 'src/sass/config/_grid.scss'
- 'src/sass/scaffolding.scss'
# include:
# - 'src/src/_source/sass/**/*.s+(a|c)ss'
# Rule Configuration
rules:
bem-depth:
- 1
- max-depth: 4
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 2
empty-line-between-blocks:
- 2
- include: true
mixins-before-declarations:
- 2
- exclude:
- media-query
no-warn: 0
no-debug: 0
indentation:
- 1
- size: 4
variable-for-property:
- 0
no-css-comments: 0
class-name-format:
- 1
- convention: hyphenatedbem
force-pseudo-nesting: 0
nesting-depth: 0
force-attribute-nesting: 0
force-element-nesting: 1
no-qualifying-elements: 0
leading-zero:
- 1
- include: true
no-vendor-prefixes:
- 1
mixin-name-format:
- 1
- convention: hyphenatedlowercase
no-color-keywords: 0
no-color-literals: 0
property-sort-order:
- 1
-
order: recess