forked from chef/automate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.sass-lint.yml
52 lines (48 loc) · 981 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
43
44
45
46
47
48
49
50
51
52
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# File Options
files:
include: 'src/**/*.s+(a|c)ss'
ignore:
- 'node_modules/**/*.*'
- 'coverage/**/*.*'
- 'src/assets/chef-ui-library/**/*.*'
# Rule Configuration
rules:
# Extends
extends-before-mixins: 2
extends-before-declarations: 2
# Line Spacing
one-declaration-per-line: 2
empty-line-between-blocks: 2
# Disallows
no-warn: 2
no-debug: 2
no-important: 2
no-trailing-whitespace: 2
hex-notation:
- 2
- style: uppercase
indentation:
- 2
- size: 2
property-sort-order:
- 2
- order:
- display
- margin
ignore-custom-properties: true
# Inner Spacing
space-after-comma: 2
space-before-colon: 2
space-after-colon: 2
space-before-brace: 2
space-before-bang: 2
space-after-bang: 2
space-between-parens: 2
space-around-operator: 2
# Final Items
trailing-semicolon: 2
final-newline: 2