forked from StopNGo/react-proto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
82 lines (82 loc) · 2.39 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
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
{
"extends": [
"stylelint-config-idiomatic-order"
],
"plugins": [
"stylelint-scss"
],
"rules": {
"string-quotes": "single",
"declaration-no-important": true,
"declaration-block-single-line-max-declarations": 1,
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-opening-brace-newline-after": "always",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"declaration-empty-line-before": "never",
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"declaration-block-semicolon-newline-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-colon-space-after": "always",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"rule-empty-line-before": [
"always",
{
"ignore": [
"after-comment",
"first-nested",
"inside-block"
]
}
],
"at-rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
]
}
],
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always",
"at-rule-semicolon-newline-after": "always",
"at-rule-semicolon-space-before": "never",
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"max-empty-lines": 1,
"value-list-comma-space-before": "never",
"value-list-comma-space-after": "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-element-case": "lower",
"selector-type-case": "lower",
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"length-zero-no-unit": true,
"property-case": "lower",
"unit-case": "lower",
"value-list-max-empty-lines": 0,
"indentation": 2,
"no-eol-whitespace": true,
"no-missing-end-of-source-newline": true,
"no-empty-first-line": true
},
"overrides": [
{
"files": [
"**/*.scss"
],
"customSyntax": "postcss-scss"
}
],
"ignoreFiles": [
"dist/*.css"
]
}