-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scss-lint.yml
39 lines (32 loc) · 860 Bytes
/
.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
# SCSS Linter configuration and overrides
# (some of the rules are too.. evangelical)
#
linters:
# Allow /* */ style comments because they're legit
Comment:
enabled: false
# Spaces - 2
Indentation:
enabled: true
character: space
width: 2
# Property sort order - recess (twitter / bootstrap style)
PropertySortOrder:
order: recess
# Allow !important as we use it to override javascript responsively
ImportantRule:
enabled: false
# Allow empty lines between { } for brevity
EmptyLineBetweenBlocks:
enabled: false
# Allow color keywords and literals because they're legit
ColorKeyword:
enabled: false
ColorVariable:
enabled: false
SingleLinePerSelector:
enabled: false
# Increase nesting depth to allow pseudo elements, navs and stuff
NestingDepth:
enabled: true
max_depth: 4