-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc
82 lines (82 loc) · 2.97 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
77
78
79
80
81
82
{
"extends": ["stylelint-config-standard"],
"ignoreFiles": ["**/*.md", "**/*.js", "**/*.js.snap", "**/*.css"],
"plugins": [
"stylelint-declaration-block-no-ignored-properties"
],
"rules": {
"at-rule-empty-line-before": null,
"at-rule-name-space-after": "always",
"at-rule-no-unknown": null,
"color-hex-case": ["lower", {
"message": "Lowercase letters are easier to distinguish from numbers"
}],
"color-named": "never",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-no-important": true,
"color-hex-length": "long",
"function-calc-no-invalid": null,
"font-family-no-missing-generic-family-keyword": null,
"font-family-name-quotes": "always-where-recommended",
"indentation": 4,
"length-zero-no-unit": true,
"max-empty-lines": [2, { "ignore": ["comments"] }],
"max-line-length": null,
"media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "never",
"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",
"purple",
"blue",
"yellow",
"red",
"black",
"white",
"brand",
"success",
"neutral",
"warning",
"danger",
"0",
"1",
"2",
"3",
"4",
"5",
"25",
"50",
"75",
"100",
"auto"
]
}],
"selector-attribute-quotes": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never-single-line",
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "double",
"unit-whitelist": ["%", "px", "rem", "vh", "vw", "s", "deg", "ch"],
"value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always"
}
}