-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
105 lines (105 loc) · 2.28 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"extends": "stylelint-config-sass-guidelines",
"plugins": [
"stylelint-scss",
"stylelint-order"
],
"ignoreFiles": "node_modules",
"rules": {
"selector-no-qualifying-type": [
true,
{
"ignore": [ "attribute" ]
}
],
"max-nesting-depth": 2,
"color-named": [
"never",
{
"ignore": ["inside-function"]
}
],
"rule-empty-line-before": [
"always",
{
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"no-duplicate-selectors": true,
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates-with-different-values"]
}
],
"selector-class-pattern": "grav-[cou]-[a-z]+(?:(?:--|-|_)?[a-z]+)*",
"scss/selector-no-redundant-nesting-selector": true,
"scss/at-extend-no-missing-placeholder": true,
"scss/dollar-variable-no-missing-interpolation": true,
"scss/at-mixin-argumentless-call-parentheses": "never",
"scss/dollar-variable-pattern": [
"grav-(co|sp|st|tr|\\w\\w\\w+)-[-\\w]+",
{
"ignore": "local"
}
],
"order/order": [
{
"type": "at-rule",
"name": "extend"
},
{
"type": "at-rule",
"name": "include",
"hasBlock": false
},
"custom-properties",
"dollar-variables",
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
"rules"
],
"order/properties-order": [
[
"content",
"display",
"flex",
"flex-wrap",
"width",
"max-width",
"height",
"max-height",
"position",
"top",
"right",
"bottom",
"left",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"border",
"border-width",
"border-top-width",
"border-right-width",
"border-bottom-width",
"border-left-width"
],
{
"unspecified": "bottomAlphabetical"
}
],
"order/properties-alphabetical-order": null
}
}