-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.yml
47 lines (44 loc) · 1.18 KB
/
.stylelintrc.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
rules:
#color
color-hex-case: lower
color-no-hex: true
#function
function-comma-space-after: always
#numbers
number-leading-zero: always
#strings
string-quotes: single
#units
unit-case: lower
unit-whitelist: ['em', 'rem', 'vw', 'vh', '%', 'q', 's', 'ms']
#values
value-keyword-case: lower
#property
shorthand-property-no-redundant-values: true
#declaration
declaration-bang-space-after: never
declaration-bang-space-before: always
declaration-no-important: true
declaration-block-no-duplicate-properties: true
#selector
selector-combinator-space-after: always
selector-combinator-space-before: always
selector-max-compound-selectors: 4
selector-no-empty: true
selector-no-id: true
selector-pseudo-element-colon-notation: double
selector-type-case: lower
#selector list
selector-list-comma-newline-after: always
#blocks
block-closing-brace-empty-line-before: never
block-closing-brace-newline-after: always
block-no-empty: true
block-no-single-line: true
block-opening-brace-space-before: always
#General
indentation: 2
max-nesting-depth: 3
no-duplicate-selectors: true
no-eol-whitespace: true
no-extra-semicolons: true