-
Notifications
You must be signed in to change notification settings - Fork 7
/
.scss-lint.yml
57 lines (52 loc) · 1.54 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
54
55
56
57
# scss-lint config file
# Lint all scss files
scss_files: "**/*.scss"
# Files to exclude
exclude: [
'vendor/*',
'node_modules/*',
'app/javascript/blacklight/styles/*'
]
# List of gem names to load custom linters from (make sure they are already
# installed)
plugin_gems: []
# Default severity of all linters.
severity: warning
linters:
SelectorFormat:
convention: hyphenated_BEM
exclude:
- app/javascript/frontend/styles/_form_errors.scss
- app/javascript/frontend/styles/_uppy.scss
SelectorDepth:
exclude:
- app/javascript/frontend/styles/_common.scss
NestingDepth:
exclude:
- app/javascript/scholarsphere/styles/_progress_indicator.scss
- app/javascript/frontend/styles/_common.scss
DeclarationOrder:
exclude:
- app/javascript/frontend/styles/_common.scss
ImportantRule:
exclude:
- app/javascript/scholarsphere/styles/_progress_indicator.scss
- app/javascript/frontend/styles/_common.scss
PropertySortOrder:
exclude:
- app/javascript/frontend/styles/_common.scss
- app/javascript/frontend/styles/_mdc-theme.scss
QualifyingElement:
exclude:
- app/javascript/frontend/styles/_common.scss
PlaceholderInExtend:
exclude:
- app/javascript/frontend/styles/_common.scss
- app/javascript/frontend/styles/_uppy.scss
MergeableSelector:
exclude:
- app/javascript/frontend/styles/_common.scss
- app/javascript/frontend/styles/_autocomplete.scss
VendorPrefix:
exclude:
- app/javascript/frontend/styles/_common.scss