-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scss-lint.yml
90 lines (65 loc) · 1.42 KB
/
.scss-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
# Default application configuration that all configurations inherit from.
scss_files: "sass/**/*.scss"
plugin_directories: ['.scss-linters']
# List of gem names to load custom linters from (make sure they are already
# installed)
plugin_gems: []
# Default severity of all linters.
severity: warning
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BemDepth:
enabled: false
max_elements: 3
BorderZero:
enabled: true
convention: zero # or `none`
ChainedClasses:
enabled: false
ColorKeyword:
enabled: true
ColorVariable:
enabled: true
Comment:
enabled: true
style: silent
DeclarationOrder:
enabled: true
DuplicateProperty:
enabled: true
EmptyRule:
enabled: true
LeadingZero:
enabled: true
style: include_zero # or 'include_zero'
MergeableSelector:
enabled: true
force_nesting: false
NameFormat:
enabled: true
allow_leading_underscore: true
convention: hyphenated_lowercase
NestingDepth:
enabled: true
max_depth: 3
ignore_parent_selectors: false
PropertySortOrder:
enabled: false
PseudoElement:
enabled: false
SelectorDepth:
enabled: true
max_depth: 3
SelectorFormat:
enabled: true
convention: hyphenated_BEM
StringQuotes:
enabled: true
style: single_quotes
UrlQuotes:
enabled: false
VendorPrefix:
enabled: false