-
Notifications
You must be signed in to change notification settings - Fork 2k
/
.stylelintrc
62 lines (62 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
55
56
57
58
59
60
61
62
{
"extends": [ "@wordpress/stylelint-config/scss" ],
"plugins": [ "@signal-noise/stylelint-scales" ],
"reportInvalidScopeDisables": true,
"reportNeedlessDisables": true,
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"comment-empty-line-before": null,
"font-weight-notation": null,
"no-descending-specificity": null,
"rule-empty-line-before": null,
"selector-class-pattern": null,
"value-keyword-case": null,
"scss/operator-no-unspaced": null,
"scss/selector-no-redundant-nesting-selector": null,
"scss/at-import-partial-extension": null,
"scss/no-global-function-names": null,
"scss/comment-no-empty": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/operator-no-newline-after": null,
"scss/at-if-closing-brace-newline-after": null,
"scss/at-else-empty-line-before": null,
"scss/at-if-closing-brace-space-after": null,
"no-invalid-position-at-import-rule": null,
"declaration-property-unit-allowed-list": [
{
"/^font-size$|^font$/": [ "rem" ],
"line-height": [ "px" ],
"/radius$/": [ "px", "%" ]
},
{ "ignore": [ "inside-function" ] }
],
"scales/font-weights": [ 400, 500, 600, 700 ],
"scales/font-sizes": [
{
"scale": [ 0.75, 0.875, 1, 1.25, 1.5, 1.75, 2, 2.25, 2.75, 3, 3.375 ],
"units": [ "rem" ]
}
],
"scales/radii": [
{
"scale": [ 2, 3, 4 ],
"units": [ "px" ]
}
],
"unit-allowed-list": [
"%",
"deg",
"em",
"fr",
"ms",
"px",
"rem",
"s",
"vh",
"vw",
"svh",
"dvh"
]
}
}