-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scss-lint.yml
50 lines (41 loc) · 1.25 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
linters:
# This is just silly
DeclarationOrder:
enabled: false
# We can lint these manually, to avoid false positives:
IdSelector:
enabled: false
# We can lint this manually, to avoid false positives
ImportantRule:
enabled: false
# camelCase
NameFormat:
enabled: true
allow_leading_underscore: true
convention: camel_case
# We can lint this manually, to avoid false positives
NestingDepth:
enabled: false
# Silly
PropertySortOrder:
enabled: false
# I just don't care to configure this...
PropertyUnits:
enabled: false
global: [
'ch', 'em', 'ex', 'rem', # Font-relative lengths
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
'deg', 'grad', 'rad', 'turn', # Angle
'ms', 's', # Duration
'Hz', 'kHz', # Frequency
'dpi', 'dpcm', 'dppx', # Resolution
'%'] # Other
properties: {}
# This will give us false positives
QualifyingElement:
enabled: false
SelectorDepth:
enabled: false
SelectorFormat:
enabled: false