forked from weaveworks/scope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
31 lines (31 loc) · 878 Bytes
/
.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
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-styled-components",
"stylelint-config-recommended",
],
"plugins": ["stylelint-declaration-use-variable"],
"rules": {
"block-no-empty": null,
"color-named": "never",
"color-no-hex": true,
"function-disallowed-list": ["/^rgb/", "/^hsl/"],
"no-empty-source": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"property-no-vendor-prefix": [true, {
"ignoreProperties": ["tab-size", "hyphens"],
}],
"selector-type-no-unknown": null,
"sh-waqar/declaration-use-variable": [[
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-left-radius",
"border-bottom-right-radius",
"font-family",
"font-size",
"z-index"
]],
},
}