-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.sass-lint.yml
54 lines (52 loc) · 1.15 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
options:
formatter: stylish
merge-default-rules: false
rules:
# Warnings
# Things that require actual refactoring are marked as warnings
class-name-format:
- 1
- convention: hyphenatedlowercase
placeholder-name-format:
- 1
- convention: hyphenatedlowercase
variable-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
nesting-depth:
- 1
- max-depth: 4
no-ids: 1
no-important: 1
extends-before-mixins: 1
extends-before-declarations: 1
declarations-before-nesting: 1
one-declaration-per-line: 1
# Warnings: these things are preferential rather than mandatory
no-css-comments: 1
# Errors
# Things that can be easily fixed are marked as errors
indentation:
- 2
- size: 'tab'
final-newline:
- 2
- include: true
no-trailing-whitespace: 2
border-zero:
- 2
- convention: '0'
brace-style:
- 2
- allow-single-line: true
clean-import-paths:
- 2
- filename-extension: false
leading-underscore: false
no-debug: 2
no-empty-rulesets: 2
no-invalid-hex: 2
no-mergeable-selectors: 2
no-trailing-zero: 2
no-url-protocols: 2