-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
48 lines (48 loc) · 2.21 KB
/
.stylelintrc.json
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
{
"extends": "stylelint-config-recommended",
"rules": {
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-after": "always-single-line",
"block-closing-brace-space-before": "always-single-line",
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"length-zero-no-unit": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-empty-line-before" : "never",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-trailing-semicolon": "always",
"declaration-block-semicolon-space-before": "never",
"indentation": [ 2, { "baseIndentLevel": 1 } ],
"max-empty-lines": 1,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"no-eol-whitespace": true,
"no-empty-first-line": true,
"rule-empty-line-before": [ "always", { "except": [ "first-nested" ] } ],
"selector-attribute-brackets-space-inside": "always",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "single",
"selector-type-case": "lower",
"selector-list-comma-newline-after": "always",
"selector-class-pattern": "^[a-z0-9_]+(-[a-z0-9]+)*$"
}
}