-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.stylelintrc
45 lines (45 loc) · 1.56 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
{
"plugins": [
"stylelint-scss"
],
"rules": {
"scss/dollar-variable-pattern": "[a-z]",
"scss/selector-no-redundant-nesting-selector": true,
"color-no-invalid-hex": true,
"font-family-no-duplicate-names": true,
"function-calc-no-unspaced-operator": true,
"shorthand-property-no-redundant-values": true,
"value-no-vendor-prefix": true,
"declaration-no-important": true,
"declaration-property-unit-whitelist": {
"font-size": ["px", "em", "%"],
"/^animation/": ["s"],
"line-height": []
},
"declaration-block-single-line-max-declarations": 1,
"selector-max-class": 5,
"selector-max-empty-lines": 0,
"selector-max-id": 0,
"string-quotes": "single",
"number-leading-zero": "always",
"length-zero-no-unit": true,
"unit-case": "lower",
"value-keyword-case": "lower",
"value-list-comma-space-after": "always",
"property-case": 'lower',
"block-closing-brace-empty-line-before": "never",
"indentation": 2,
"max-empty-lines": 1,
"no-eol-whitespace": true,
"max-nesting-depth": 5,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-max-universal": 1,
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"selector-class-pattern": "^(?!js-).*"
}
}