-
Notifications
You must be signed in to change notification settings - Fork 28
/
.scss-lint.yml
53 lines (41 loc) · 1.15 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
# BC configuration
linters:
#Cos we use maps with keywords, this produces noise
ColorKeyword:
enabled: false
ElsePlacement:
enabled: true
style: new_line # or 'same_line'
EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: false
Indentation:
enabled: true
character: space # or 'tab'
width: 4
LeadingZero:
enabled: true
style: include_zero # or 'exclude_zero'
NameFormat:
enabled: false
convention: hyphenated_lowercase # or 'BEM', or a regex pattern
SelectorDepth:
enabled: true
max_depth: 2
NestingDepth:
enabled: true
max_depth: 2
# For example
# http://www.regexr.com/39qql
SelectorFormat:
enabled: true
# convention: camel_case # or 'snake_case', or 'hyphenated_lowercase', or a regex pattern
convention: ^[a-z][a-z0-9]*([A-Z0-9][a-z0-9]*)*((\.is-|-+)[a-z0-9][a-z0-9]*([A-Z0-9][a-z0-9]*)*)*$
StringQuotes:
enabled: true
style: double_quotes # or single_quotes
TrailingZero:
enabled: true
# This is a new linting rule as of 0.30 and the per-file disablement syntax seems to failing, so turn it off
QualifyingElement:
enabled: false