-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
34 lines (34 loc) · 1.08 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
{
"plugins": [
"stylelint-declaration-use-variable",
"stylelint-order"
],
"rules": {
"block-opening-brace-space-before": "always",
"color-named": "never",
"color-no-invalid-hex": true,
"declaration-colon-space-after": "always",
"declaration-empty-line-before": "never",
"declaration-no-important": true,
"indentation": 2,
"max-empty-lines": 1,
"max-nesting-depth": 4,
"no-duplicate-selectors": true,
"no-extra-semicolons": true,
"order/order": [
"custom-properties",
"declarations"
],
"property-no-unknown": true,
"order/properties-alphabetical-order": true,
"rule-empty-line-before": [ "always",
{
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"selector-list-comma-newline-after": "always",
"sh-waqar/declaration-use-variable": [["/color/", "background", { ignoreValues: ["/^rgba/"] }]],
"unit-no-unknown": true
}
}