generated from pableco/playscss
/
.stylelintrc.json
39 lines (39 loc) · 1.19 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
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components"
],
"plugins": [
"stylelint-order"
],
"rules":
{
"block-no-empty": null,
"block-opening-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"color-hex-case": "lower",
"color-no-invalid-hex": true,
"comment-empty-line-before": [ "always", {
"ignore": ["stylelint-commands", "after-comment"]
} ],
"declaration-colon-space-after": "always",
"number-leading-zero": "never",
"indentation": [4, {
"except": ["value"]
}],
"max-empty-lines": 2,
"rule-empty-line-before": [ "always", {
"except": ["first-nested"],
"ignore": ["after-comment"]
} ],
"unit-allowed-list": ["em", "ms", "rem", "%", "vh", "vw"],
"string-no-newline": null,
"function-calc-no-invalid": null,
"order/order": [
"custom-properties",
"declarations"
],
"order/properties-alphabetical-order": true
}
}