forked from OfficeDev/office-ui-fabric-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sass-lint.yml
73 lines (68 loc) · 1.53 KB
/
.sass-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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#########################
## Sample Sass Lint File
#########################
# Linter Options
options:
# File Options
files:
include: '*.s+(a|c)ss'
# Rule Configuration
rules:
class-name-format: 0
variable-name-format: 0
mixin-name-format: 0
force-element-nesting: 0
force-pseudo-nesting: 0
force-attribute-nesting: 0
nesting-depth: 0
clean-import-paths:
- 0
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 1
mixins-before-declarations:
- 0
-
exclude:
- breakpoint
- mq
no-warn: 1
no-debug: 1
no-ids: 2
no-important: 1
hex-notation:
- 2
-
style: uppercase
indentation:
- 0
-
size: 2
property-sort-order:
- 0
-
ignore-custom-properties: true
# Allow empty lines between blocks and single line rulesets
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/empty-line-between-blocks.md
empty-line-between-blocks:
- 1
-
allow-single-line-rulesets: true
# Need to enable these vendor prefixes so that it will allow -ms-high-contrast and -webkit-overflow-scrolling
# Would be best to find a way to exclude only those specific properties, not all prefixed properties
no-vendor-prefixes:
- 1
-
excluded-identifiers:
- 'ms'
- 'webkit'
# Enforce hex codes to full length
hex-length:
- 1
- style: long
# Allow properties that are unrecognized by the linter
no-misspelled-properties:
- 1
-
extra-properties:
- 'overflow-scrolling'