-
Notifications
You must be signed in to change notification settings - Fork 0
/
sass-lint.yml
55 lines (44 loc) · 1.41 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
# See http://help.houndci.com/configuration/sass-lint
# Please try to keep this file alphabetically.
rules:
# Enforce Harry Roberts BEM style
class-name-format:
- 2
-
convention: hyphenatedbem
# This is a common-sense rule that Hound has on WARN. We enforce it.
empty-line-between-blocks: 2
# Because of a long-standing bug we disable indentation checking.
# See https://github.com/sasstools/sass-lint/issues/591#issuecomment-314887197
indentation: 0
# We agree that it is better for the eye to see 0.4 instead of just .4
# So much so, that we enforce the leading zero to be used.
# Hound default is WARN.
leading-zero:
- 2
-
include: true
# @include declarations with inner @content don't have to come first.
# Disabling until https://github.com/sasstools/sass-lint/issues/455 is fixed
# Hound default is WARN.
mixins-before-declarations: 0
# The following vendor prefixes are legitimate:
#
# -ms-grid-column
# -ms-grid-columns
# -ms-grid-column-span
# -ms-grid-row
# -ms-grid-rows
# -ms-grid-row-span
#
# Unforuntately sass-linter has no whitelist.
# However, we can allow every -ms-* property.
no-vendor-prefixes:
- 2
-
excluded-identifiers:
- ms
# Disable order. Hound defaults to WARN and alphabetically.
property-sort-order: 0
# This is a common-sense rule that Hound has on WARN. We enforce it.
single-line-per-selector: 2