/
.stylelintrc
55 lines (55 loc) · 1.91 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
{
"rules": {
"indentation": 4,
"string-quotes": "single",
"no-duplicate-selectors": true,
"color-hex-case": "lower",
"color-named": "never",
"selector-no-qualifying-type": true,
"selector-combinator-space-after": "always",
"selector-attribute-quotes": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-no-important": true,
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"declaration-empty-line-before": [
"never",
{
"ignore": ["after-comment"]
}
],
"value-no-vendor-prefix": true,
"number-leading-zero": "never",
"function-url-quotes": "always",
"font-family-name-quotes": "always-where-recommended",
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-class-parentheses-space-inside": "never",
"media-feature-range-operator-space-before": "always",
"media-feature-range-operator-space-after": "always",
"media-feature-parentheses-space-inside": "never",
"media-feature-colon-space-before": "never",
"media-feature-colon-space-after": "always",
"rule-empty-line-before": [
"always-multi-line",
{
"except": ["after-single-line-comment", "first-nested"],
"ignore": ["after-comment"],
"severity": "warning"
}
],
"at-rule-empty-line-before": [
"always",
{
"ignore": ["inside-block", "after-comment"],
"ignoreAtRules": ["import"],
"severity": "warning"
}
],
"block-closing-brace-newline-after": [
"always",
{
"ignoreAtRules": ["if", "else"]
}
]
},
}