forked from NYPL-Simplified/webpub-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scss-lint.yml
61 lines (45 loc) · 1.09 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
severity: error
linters:
BorderZero:
enabled: true
convention: zero
BemDepth:
enabled: true
DeclarationOrder:
enabled: false
ExtendDirective:
enabled: true
LeadingZero:
enabled: true
style: include_zero
NameFormat:
enabled: true
NestingDepth:
enabled: true
max_depth: 5 #because collapsible header (refactor that)
SelectorDepth:
enabled: true
max_depth: 4 #because collapsible header (refactor that)
PrivateNamingConvention:
enabled: true
prefix: _
PropertySortOrder:
enabled: false
PropertyUnits:
global: ['rem', '%', 's', 'vh', 'vw'] # Allow relative units globally
properties:
line-height: [] # No units allowed
margin: ['rem', '%', 'vh', 'vw']
QualifyingElement:
enabled: false
SelectorFormat:
enabled: true
convention: hyphenated_BEM
class_convention: ^(?!js-).*
class_convention_explanation: should not be written in the form js-*
SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: false
StringQuotes:
enabled: true
style: double_quotes