-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.stylelintrc
83 lines (83 loc) · 2.38 KB
/
.stylelintrc
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
{
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
]
}
],
"at-rule-name-case": "lower",
"at-rule-name-newline-after": "always-multi-line",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-space-before": "never",
"block-no-empty": true,
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"ignore": [
"after-comment"
]
}
],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-redundant-longhand-properties": true,
"declaration-colon-space-after": "always",
"font-family-no-duplicate-names": true,
"font-weight-notation": "numeric",
"indentation": [
2,
{
"ignore": [
"value"
]
}
],
"length-zero-no-unit": true,
"max-empty-lines": 2,
"max-line-length": 100,
"max-nesting-depth": 3,
"no-duplicate-selectors": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"property-case": "lower",
"property-no-unknown": true,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"selector-list-comma-newline-after": "always",
"selector-pseudo-class-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"string-quotes": "double",
"unit-case": "lower",
"unit-no-unknown": true,
"unit-whitelist": [
"deg",
"em",
"rem",
"%",
"ms",
"s",
"px",
"vh",
"vw"
],
"value-keyword-case": "lower"
}
}