/
.sasslintrc
76 lines (75 loc) · 1.39 KB
/
.sasslintrc
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
#########################
## Sample Sass Lint File
#########################
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# Set the formatter to 'html'
formatter: compact
# Output file instead of logging results
#output-file: 'linters/sass-lint.html'
# Raise an error if more than 50 warnings are generated
max-warnings: 50
# File Options
files:
include: '**/*.s+(a|c)ss'
ignore:
- 'node_modules/**/*.*'
# Rule Configuration
rules:
extends-before-mixins: 2
extends-before-declarations: 2
mixins-before-declarations:
- 2
-
exclude:
- breakpoint
- mq
- media
no-debug: 1
no-ids: 2
no-important: 2
hex-notation:
- 2
-
style: uppercase
indentation:
- 4
-
size: 4
property-sort-order:
- 1
-
order:
- display
- margin
ignore-custom-properties: true
variable-for-property:
- 1
-
properties:
- color
- font-family
zero-unit:
- 2
-
include: false
variable-name-format:
- 1
-
convention: 'hyphenatedlowercase'
url-quotes:
- 2
trailing-semicolon:
- 2
space-between-parens:
- 2
space-before-colon:
- 2
space-before-brace:
- 2
space-before-bang:
- 2
single-line-per-selector:
- 2