-
Notifications
You must be signed in to change notification settings - Fork 2
/
.scss-lint.yml
51 lines (40 loc) · 1.26 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
exclude:
# scss-lint hits syntax error for files that contain jekyll "front matter"
# (and jekyll requires the main scss to have front matter, otherwise jekyll
# will not process it at all). Therefore we disable linting for the main
# scss file (css/all.scss) with the intention of keeping it to a minimal
# (ideally it should be kept as front matter + a single import permanently).
- 'assets-layout/all.scss'
- '_sass/syntax-highlighting.scss'
linters:
Indentation:
enabled: false
SpaceAfterComma:
enabled: false
# rule wants s/0.4/.4/
LeadingZero:
enabled: false
# rule wants uppercase
HexNotation:
enabled: false
# rule wants single quotes
StringQuotes:
enabled: false
# rule wants color literals in variable definitions only
ColorVariable:
enabled: false
# rule wants no duplicate selectors and forces nesting
MergeableSelector:
force_nesting: false
# rule wants //-style comments instead of /*blah*/
Comment:
enabled: false
# rule wants "0" instead of "0px"
ZeroUnit:
enabled: false
# rule wants "h1,\nh2 {" instead of "h1, h2 {"
SingleLinePerSelector:
enabled: false
# rule wants exactly once space after property names
SpaceAfterPropertyColon:
style: at_least_one_space