-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
.stylelintrc
152 lines (152 loc) · 3.88 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"defaultSeverity": "warning",
"plugins": [
"@ronilaukkarinen/stylelint-value-no-unknown-custom-properties",
"stylelint-order",
"stylelint-csstree-validator"
],
"extends": [
"stylelint-config-standard"
],
"rules": {
"csstree/validator": true,
"declaration-block-single-line-max-declarations": 1,
"order/order": [
{
"type": "at-rule",
"name": "import"
},
{
"type": "at-rule",
"name": "include"
},
{
"type": "at-rule",
"name": "extend"
},
"custom-properties",
"dollar-variables",
"declarations",
"rules",
{
"type": "at-rule",
"name": "media"
}
],
"declaration-property-value-no-unknown": null,
"order/properties-alphabetical-order": true,
"alpha-value-notation": "number",
"declaration-block-no-redundant-longhand-properties": null,
"custom-property-empty-line-before": "never",
"color-no-invalid-hex": null,
"color-function-notation": null,
"color-hex-length": null,
"selector-type-case": "lower",
"function-name-case": "lower",
"selector-attribute-quotes": "always",
"comment-whitespace-inside": "always",
"selector-max-specificity": "0,8,8",
"block-no-empty": true,
"declaration-empty-line-before": null,
"font-family-no-missing-generic-family-keyword": true,
"font-family-name-quotes": "always-where-required",
"no-invalid-position-at-import-rule": null,
"declaration-no-important": true,
"comment-empty-line-before": null,
"function-url-quotes": "always",
"unit-no-unknown": true,
"length-zero-no-unit": null,
"font-weight-notation": "numeric",
"number-max-precision": null,
"selector-class-pattern": null,
"selector-max-class": 7,
"selector-max-combinators": 7,
"selector-max-compound-selectors": 7,
"selector-max-pseudo-class": 3,
"selector-max-universal": 1,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"selector-no-qualifying-type": null,
"no-unknown-animations": true,
"shorthand-property-no-redundant-values": true,
"value-keyword-case": null,
"csstools/value-no-unknown-custom-properties": [
true,
{
"importFrom": [
"layout-single-column.css"
]
}
],
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested",
"after-single-line-comment"
],
"ignore": [
"inside-block"
]
}
],
"at-rule-empty-line-before": [
"always",
{
"ignoreAtRules": [
"if",
"else"
],
"except": [
"first-nested",
"blockless-after-same-name-blockless",
"blockless-after-blockless"
],
"ignore": [
"after-comment"
]
}
],
"no-descending-specificity": null,
"max-nesting-depth": [
3,
{
"ignore": [
"blockless-at-rules",
"pseudo-classes"
]
}
],
"declaration-property-unit-allowed-list": [
{
"font-size": [
"rem",
"em",
"px"
],
"line-height": [
"px",
"%",
""
]
}
],
"property-disallowed-list": [
"font",
"background"
],
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"property-no-unknown": true,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-type-no-unknown": true,
"media-feature-name-no-unknown": true,
"at-rule-no-unknown": true,
"comment-no-empty": true,
"no-duplicate-selectors": true,
"no-empty-source": true,
"no-invalid-double-slash-comments": true,
"no-irregular-whitespace": true
}
}