-
Notifications
You must be signed in to change notification settings - Fork 53
/
.sass-lint.yml
112 lines (111 loc) · 2.48 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# sass-lint config generated by make-sass-lint-config v0.1.2
#
# The following scss-lint Linters are not yet supported by sass-lint:
# ElsePlacement, SelectorDepth, UnnecessaryParentReference, VendorPrefixes
# Compass::*
#
# The following settings/values are unsupported by sass-lint:
# Linter Indentation, option "character"
# Linter SpaceBeforeBrace, option "allow_single_line_padding"
files:
include: src/**/*.s+(a|c)ss
options:
formatter: stylish
merge-default-rules: false
rules:
border-zero: 2
brace-style:
- 2
- allow-single-line: false
class-name-format:
- 2
- convention: >-
^((u|is|has|js)-([a-z0-9]*[-a-z0-9]*)|([a-z0-9]*[-a-z0-9]*)(__([a-z0-9]*[-a-z0-9]*))?(--([a-z0-9]*[-a-z0-9]*))?)(\\@([a-z0-9]*[-a-z0-9]*))?$
clean-import-paths:
- 2
- filename-extension: false
leading-underscore: false
empty-line-between-blocks:
- 2
- ignore-single-line-rulesets: false
extends-before-declarations: 2
extends-before-mixins: 2
final-newline:
- 2
- include: true
function-name-format:
- 2
- convention: hyphenatedlowercase
hex-length:
- 2
- style: short
hex-notation:
- 2
- style: lowercase
id-name-format:
- 2
- convention: hyphenatedlowercase
indentation:
- 2
- size: 2
leading-zero:
- 0
- include: true
mixin-name-format:
- 2
- convention: hyphenatedlowercase
mixins-before-declarations: 2
nesting-depth:
- 2
- max-depth: 3
no-color-keywords: 2
no-css-comments: 0
no-debug: 2
no-duplicate-properties: 2
no-empty-rulesets: 2
no-ids: 2
no-invalid-hex: 2
no-mergeable-selectors: 0
no-misspelled-properties:
- 2
- extra-properties: []
no-qualifying-elements:
- 2
- allow-element-with-attribute: false
allow-element-with-class: false
allow-element-with-id: false
no-trailing-zero: 2
no-url-protocols: 0
placeholder-in-extend: 2
placeholder-name-format:
- 2
- convention: hyphenatedlowercase
property-sort-order: 0
quotes:
- 2
- style: single
shorthand-values: 2
single-line-per-selector: 2
space-after-bang:
- 2
- include: false
space-after-colon:
- 2
- include: true
space-after-comma: 2
space-before-bang:
- 2
- include: true
space-before-brace:
- 2
- include: true
space-before-colon: 2
space-between-parens:
- 2
- include: false
trailing-semicolon: 2
url-quotes: 2
variable-name-format:
- 2
- convention: camelcase
zero-unit: 2