-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
85 lines (85 loc) · 2.37 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
77
78
79
80
81
82
83
84
85
{
"$schema": "http://json.schemastore.org/stylelintrc",
"extends": ["stylelint-config-recommended"],
"plugins": ["stylelint-declaration-use-variable", "stylelint-scss"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["include", "mixin", "if", "else", "extend", "each"]
}
],
"scss/at-import-no-partial-leading-underscore": true,
"scss/selector-no-redundant-nesting-selector": true,
"sh-waqar/declaration-use-variable": [
[
"/color/",
{
"ignoreValues": ["transparent", "inherit", "/transparent/", "/rgba/"]
}
]
],
"declaration-bang-space-before": "always",
"declaration-bang-space-after": "never",
"function-calc-no-invalid": null,
"declaration-property-value-disallowed-list": {
"/^border-\\w+$/": ["none"]
},
"color-named": "never",
"declaration-block-no-duplicate-properties": [
true,
{
"ignoreProperties": ["/background/", "/border/", "/transform/"]
}
],
"no-descending-specificity": null,
"block-no-empty": null,
"no-empty-source": null,
"color-no-invalid-hex": true,
"indentation": null,
"selector-max-id": 0,
"no-duplicate-selectors": true,
"max-nesting-depth": 6,
"property-no-unknown": true,
"unit-allowed-list": [
"fr",
"ch",
"em",
"ex",
"rem",
"cm",
"in",
"mm",
"pc",
"pt",
"px",
"q",
"vh",
"vw",
"vmin",
"vmax",
"deg",
"grad",
"rad",
"turn",
"ms",
"s",
"Hz",
"kHz",
"dpi",
"dpcm",
"dppx",
"%"
],
"selector-no-qualifying-type": [
true,
{
"ignore": ["attribute", "class", "id"]
}
],
"shorthand-property-no-redundant-values": null,
"selector-list-comma-newline-after": null,
"number-no-trailing-zeros": null,
"declaration-no-important": true
}
}