-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylelintrc.json
More file actions
46 lines (46 loc) · 974 Bytes
/
stylelintrc.json
File metadata and controls
46 lines (46 loc) · 974 Bytes
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
{
"extends": [
"stylelint-config-standard",
"@wordpress/stylelint-config"
],
"rules": {
"no-descending-specificity": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"keyframes-name-pattern": null,
"no-empty-source": null,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["apply", "container", "custom-media", "custom-properties"]
}
],
"function-no-unknown": [
true,
{
"ignoreFunctions": ["var", "calc", "min", "max", "clamp", "env"]
}
],
"property-no-unknown": [
true,
{
"ignoreProperties": [
"--wp-*",
"--*"
]
}
],
"unit-no-unknown": [
true,
{
"ignoreUnits": ["rem", "em", "px", "%", "vw", "vh", "vmin", "vmax", "ch", "ex"]
}
],
"declaration-property-value-no-unknown": [
true,
{
"ignoreProperties": ["content"]
}
]
}
}