forked from carbon-design-system/design-system-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sass-lint.yml
42 lines (42 loc) · 881 Bytes
/
.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
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# File Options
files:
ignore:
- 'src/assets/fonts/font-face.scss'
# Rule Configuration
rules:
# Extends and Mixins
extends-before-mixins: 1
extends-before-declarations: 1
placeholder-in-extend: 1
mixins-before-declarations: 1
# Spaces and Lines
one-declaration-per-line: 1
final-newline: 1
indentation: 1
space-before-brace: 1
space-after-comma: 1
space-around-operator: 1
empty-line-between-blocks:
- 1
- include: true
- allow-single-line-rulesets: true
# Other
leading-zero: 1
trailing-semicolon: 1
quotes:
- 1
- style: single
# Not Allowed
no-color-keywords: 2
no-misspelled-properties: 2
no-ids: 2
no-important: 2
no-empty-rulesets: 2
no-duplicate-properties: 1
# Units
property-units:
- global: ['rem', 'px']