/
.scss-lint.yml
54 lines (51 loc) · 1.33 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
# This is an SCSS linter for the backend, using scss-lint
# which is no longer supported: https://github.com/sds/scss-lint#notice-consider-other-tools-before-adopting-scss-lint
# On the frontend, we are using stylelint-scss, whose
# config can be found in apps/stylelint.config.js
scss_files: 'dashboard/app/**/*.scss'
linters:
LeadingZero:
style: include_zero
QualifyingElement:
allow_element_with_attribute: true
allow_element_with_class: true
Shorthand:
allowed_shorthands: [1, 2, 4]
SingleLinePerProperty:
allow_single_line_rule_sets: false
# Ignored rules: we don't plan to enable these in the foreseeable future.
IdSelector:
enabled: false
NestingDepth:
enabled: false
PropertyCount:
enabled: false
PropertySortOrder:
enabled: false
SelectorDepth:
enabled: false
# Rules we should either ignore or fix (but are currently failing).
BorderZero:
enabled: false
Comment:
enabled: false
DeclarationOrder:
enabled: false
EmptyLineBetweenBlocks:
enabled: false
ImportantRule:
enabled: false
MergeableSelector:
enabled: false
NameFormat:
enabled: false
SelectorFormat:
enabled: false
SingleLinePerSelector:
enabled: false
StringQuotes:
enabled: false
UnnecessaryParentReference:
enabled: false
VendorPrefix:
enabled: false