-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
76 lines (76 loc) · 2.14 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
72
73
74
75
76
{
"ignoreFiles": ["**/*.css", "**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"],
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-scss", "stylelint-declaration-strict-value"],
"rules": {
"at-rule-no-unknown": null,
"color-named": "never",
"color-no-hex": true,
"comment-whitespace-inside": null,
"comment-empty-line-before": null,
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates-with-different-values"]
}
],
"declaration-no-important": true,
"max-nesting-depth": 3,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"scale-unlimited/declaration-strict-value": [
[
"bottom",
"fill",
"font",
"font-weight",
"height",
"left",
"opacity",
"outline",
"right",
"stroke",
"top",
"width",
"cursor",
"/border-/",
"/color/",
"/margin-/",
"/padding-/"
],
{
"ignoreKeywords": {
"": ["inherit", "initial", "transparent", "none", "normal", "auto", "0", "100%"],
"/border-/": ["0", "none", "50%", "solid", "transparent", "inherit", "initial"],
"opacity": ["0", "1", "inherit", "initial"],
"cursor": ["auto", "default", "none", "inherit"]
}
}
],
"scss/at-rule-no-unknown": true,
"scss/dollar-variable-colon-space-after": "always-single-line",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-default": [
true,
{
"ignore": "local"
}
],
"selector-list-comma-newline-after": null,
"selector-max-attribute": 2,
"selector-max-class": 3,
"selector-max-compound-selectors": 3,
"selector-max-id": 0,
"selector-max-specificity": [
"0,4,0",
{
"ignoreSelectors": [":hover", ":active", ":focus", ":checked"]
}
],
"selector-max-universal": 0,
"selector-no-qualifying-type": true,
"selector-no-vendor-prefix": true,
"selector-pseudo-class-blacklist": ["disabled", "required"],
"unit-blacklist": "rem"
}
}