-
Notifications
You must be signed in to change notification settings - Fork 5
/
.stylelintrc
76 lines (76 loc) · 1.63 KB
/
.stylelintrc
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
{
"extends": ["stylelint-config-standard", "stylelint-config-recommended-less"],
"ignoreFiles": ["**/*.md", "**/*.js", "**/*.js.snap", "**/*.css"],
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
"customSyntax": "postcss-less",
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"color-named": "never",
"declaration-no-important": true,
"color-hex-length": "long",
"font-family-no-missing-generic-family-keyword": null,
"font-family-name-quotes": "always-where-recommended",
"length-zero-no-unit": true,
"media-feature-name-no-vendor-prefix": true,
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"number-max-precision": 4,
"plugin/declaration-block-no-ignored-properties": true,
"property-no-unknown": [
true,
{
"ignoreProperties": [
"xs",
"sm",
"md",
"lg",
"xl",
"xxl",
"default",
"green",
"teal",
"lilac",
"blue",
"yellow",
"red",
"black",
"white",
"brand",
"success",
"neutral",
"warning",
"danger",
"muted",
"variant-1",
"variant-2",
"variant-3",
"variant-4",
"gray",
"0",
"1",
"2",
"3",
"4",
"5",
"25",
"50",
"75",
"100",
"auto"
]
}
],
"selector-attribute-quotes": "always",
"selector-pseudo-element-colon-notation": "single",
"unit-allowed-list": ["%", "px", "rem", "vh", "vw", "s", "deg", "ch", "fr"],
"value-keyword-case": "lower",
"function-no-unknown": [
true,
{
"ignoreFunctions": ["fade", "darken"]
}
],
"import-notation": "string"
}
}