-
Notifications
You must be signed in to change notification settings - Fork 30
/
.stylelintrc
54 lines (54 loc) · 1.52 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
46
47
48
49
50
51
52
53
54
{
"plugins": [
"stylelint-scss",
"stylelint-order",
"stylelint-declaration-use-variable",
],
"extends": "stylelint-config-sass-guidelines",
"rules": {
"color-hex-length": "long",
"color-hex-case": "lower",
"declaration-no-important": true,
"selector-pseudo-element-colon-notation": "double",
"order/properties-alphabetical-order": null,
"order/order": [
{
"type": "at-rule",
"name": "extend",
"hasBlock": false
},
{
"type": "at-rule",
"name": "include",
"hasBlock": false
},
{
"type": "at-rule",
"name": "include",
"parameter": "breakpoint",
"hasBlock": true
}
],
"at-rule-empty-line-before": ["always", {
except: ["first-nested", "blockless-after-blockless"],
ignore: ["after-comment", "first-nested"],
ignoreAtRules: ["if", "else", "import"],
}],
"rule-empty-line-before": ["always", {
except: ["first-nested"]
}],
"max-nesting-depth": [4, {
"ignoreAtRules": ["mixin"]
}],
"selector-class-pattern": null,
"selector-max-compound-selectors": 4,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"scss/at-import-no-partial-leading-underscore": null,
"scss/dollar-variable-pattern": "^^(?!-)(?!.*--)[a-z0-9-]+(?<!-)",
"sh-waqar/declaration-use-variable": [['/color/', { ignoreValues: ['transparent', 'inherit'] }]],
"selector-no-qualifying-type": [ true, {
"ignore": [ "class" ]
}]
}
}