-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.stylelintrc.json
More file actions
92 lines (92 loc) · 2.4 KB
/
Copy path.stylelintrc.json
File metadata and controls
92 lines (92 loc) · 2.4 KB
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
{
"extends": ["stylelint-config-standard"],
"ignoreFiles": ["src/app/public/font-normalize.css", "dist/**"],
"plugins": ["stylelint-declaration-strict-value"],
"rules": {
"scale-unlimited/declaration-strict-value": [
[
"/color$/",
"background",
"background-color",
"border-color",
"outline-color",
"font-family",
"font-size"
],
{
"ignoreValues": [
"inherit",
"initial",
"transparent",
"currentColor",
"currentcolor",
"none",
"white",
"/^var\\(/",
"/^color-mix\\(/",
"/^light-dark\\(/",
"/^url\\(/",
"0",
"50%",
"/^\\d+(\\.\\d+)?(em|rem|px)$/",
"/^local\\(/",
"/^\\d+(\\.\\d+)?%$/",
"/^#[0-9a-fA-F]+$/"
],
"disableFix": true,
"message": "Use a design token (--flex-*, --font-*, --text-*) instead of a hard-coded value"
}
],
"declaration-property-value-allowed-list": {
"max-inline-size": [
"/^var\\(--flex-content-/",
"/^var\\(--flex-control-/",
"none",
"100%",
"auto",
"unset",
"min-content",
"max-content",
"fit-content",
"/^min\\(/",
"/^max\\(/",
"/^clamp\\(/",
"/^calc\\(/",
"/^\\d+(\\.\\d+)?ex$/",
"/^\\d+(\\.\\d+)?%$/"
],
"max-width": [
"/^var\\(--flex-content-/",
"/^var\\(--flex-control-/",
"none",
"100%",
"auto",
"unset",
"min-content",
"max-content",
"fit-content",
"/^min\\(/",
"/^max\\(/",
"/^clamp\\(/",
"/^calc\\(/",
"/^\\d+(\\.\\d+)?ex$/",
"/^\\d+(\\.\\d+)?%$/"
]
},
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["layer", "property", "container"]
}],
"import-notation": null,
"no-descending-specificity": null,
"custom-property-no-missing-var-function": true,
"selector-class-pattern": null,
"value-keyword-case": ["lower", {
"ignoreKeywords": ["Helvetica", "Roboto", "Arial", "currentColor"]
}],
"property-no-vendor-prefix": true,
"comment-empty-line-before": null,
"rule-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"media-feature-range-notation": null
}
}