-
-
Notifications
You must be signed in to change notification settings - Fork 218
/
.scss-lint.yml
90 lines (89 loc) · 1.66 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
scss_files: 'assets/style/**/*.css.scss'
linters:
BorderZero:
enabled: false
Indentation:
severity: warning
width: 2
StringQuotes:
enabled: true
UrlQuotes:
enabled: true
BangFormat:
enabled: true
ColorKeyword:
enabled: false
ColorVariable:
enabled: true
Comment:
enabled: true
DebugStatement:
enabled: true
DeclarationOrder:
enabled: true
DuplicateProperty:
enabled: true
ElsePlacement:
enabled: true
EmptyLineBetweenBlocks:
enabled: true
EmptyRule:
enabled: true
FinalNewline:
enabled: true
HexLength:
style: long
HexValidation:
enabled: true
ImportPath:
enabled: true
LengthVariable:
enabled: false
MergeableSelector:
enabled: true
NameFormat:
enabled: true
NestingDepth:
enabled: true
max_depth: 3
PlaceholderInExtend:
enabled: true
PrivateNamingConvention:
enabled: true
PropertySpelling:
enabled: true
PropertySortOrder:
enabled: true
PropertyCount:
enabled: true
PropertyUnits:
enabled: true
properties:
border: ['px']
margin: ['px', '%']
font-size: ['px', '%', 'em']
line-height: ['px']
PseudoElement:
enabled: true
QualifyingElement:
enabled: false
SelectorDepth:
enabled: true
SelectorFormat:
enabled: true
convention: hyphenated_lowercase
SingleLinePerProperty:
enabled: true
Shorthand:
enabled: true
allowed_shorthands: [1, 2, 3, 4]
SingleLinePerSelector:
enabled: true
SpaceAfterComma:
enabled: true
SpaceAfterComment:
enabled: true
SpaceAfterPropertyColon:
enabled: true
SpaceAfterPropertyName:
enabled: true