-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.scss-lint.yml
49 lines (43 loc) · 1 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
---
exclude:
- 'app/styles/patternlibrary.scss'
linters:
DisableLinterReason:
enabled: true
severity: error
BemDepth:
enabled: true
max_elements: 1
severity: error
SelectorDepth:
# Consider lowering to 1 in the future
max_depth: 2
SelectorFormat:
convention: hyphenated_BEM
# Generated by scss-lint --format=Config on the inherited SCSS.
# Review which ones make sense to reactivate and fix
ColorVariable:
enabled: false
# Used a lot to support IE8 as fallback for rem units
# Check if we can get rid of them...
# - Test https://www.npmjs.com/package/rem-to-px and generate an IE8-only css
EmptyLineBetweenBlocks:
enabled: false
HexNotation:
enabled: false
LeadingZero:
enabled: false
MergeableSelector:
enabled: false
PropertySortOrder:
enabled: false
Shorthand:
enabled: false
SingleLinePerSelector:
enabled: false
StringQuotes:
enabled: false
UrlQuotes:
enabled: false
VendorPrefix:
enabled: false