This repository was archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
71 lines (71 loc) · 1.54 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
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-recess-order",
"@ronilaukkarinen/stylelint-a11y/recommended"
],
"plugins": [
"stylelint-rem-over-px",
"stylelint-plugin-defensive-css",
"stylelint-plugin-logical-css",
"stylelint-declaration-strict-value"
],
"rules": {
"selector-class-pattern": null,
"value-keyword-case": null,
"custom-property-pattern": null,
"scss/dollar-variable-pattern": null,
"scss/percent-placeholder-pattern": null,
"scss/at-mixin-pattern": null,
"rem-over-px/rem-over-px": [
true,
{
"ignore": [
"box-shadow",
"text-shadow",
"border-radius"
]
}
],
"plugin/use-defensive-css": [
true,
{
"custom-property-fallbacks": false
}
],
"plugin/use-logical-properties-and-values": [
true,
{}
],
"plugin/use-logical-units": [
true,
{}
],
"scale-unlimited/declaration-strict-value": [
[
"/color/",
"/size/",
"/margin/",
"/padding/",
"background-color",
"background-image"
],
{
"ignoreValues": [
"currentColor",
"inherit",
"transparent",
"0",
"100vi",
"100vb",
"100%",
"auto"
],
"expandShorthand": true,
"recurseLonghand": true,
"message": "Custom expected ${types} for \"${value}\" of \"${property}\"",
"disableFix": true
}
]
}
}