-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
63 lines (63 loc) · 2.29 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
{
"extends": [
"stylelint-config-recommended",
"stylelint-a11y/recommended",
"stylelint-config-styled-components",
"stylelint-prettier/recommended"
],
"plugins": [
"stylelint-order",
"stylelint-config-rational-order/plugin",
"stylelint-a11y",
"stylelint-high-performance-animation",
"stylelint-prettier"
],
"rules": {
"prettier/prettier": true,
"at-rule-no-vendor-prefix": true,
"block-no-empty": true,
"color-hex-length": "long",
"color-no-hex": null,
"color-no-invalid-hex": true,
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-duplicate-properties": null,
"declaration-no-important": true,
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"function-calc-no-invalid": true,
"function-calc-no-unspaced-operator": true,
"function-url-quotes": null,
"function-whitespace-after": "always",
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"max-nesting-depth": 3,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"no-descending-specificity": null,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": null,
"no-empty-source": true,
"no-invalid-double-slash-comments": true,
"number-max-precision": 20,
"order/order": ["custom-properties", "declarations"],
"order/properties-alphabetical-order": true,
"order/properties-order": [],
"plugin/no-low-performance-animation-properties": null,
"property-no-unknown": true,
"property-no-vendor-prefix": true,
"selector-class-pattern": "[a-z-]+",
"selector-id-pattern": "[a-z-]+",
"selector-nested-pattern" : "((^|(,\\s*))&:{1,2}[a-zA-Z]+)+$",
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "double",
"unit-allowed-list": ["px", "%", "em", "ms", "rem", "vw", "vh", "deg", "s"],
"unit-no-unknown": true,
"value-no-vendor-prefix": true
}
}