-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.stylelintrc
53 lines (53 loc) · 1.64 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
{
"extends": [
"stylelint-config-standard",
"stylelint-config-css-modules"
],
"ignoreFiles": ["node_modules/**"],
"defaultSeverity": "error",
"plugins": [
"stylelint-order",
"stylelint-declaration-strict-value"
],
"rules": {
"alpha-value-notation": "number",
"at-rule-no-unknown": [true, {
"ignoreAtRules": [
"define-mixin",
"include",
"mixin",
"if",
"content",
"else",
"extend"
]
}],
"color-named": "never",
"color-no-hex": true,
"color-no-invalid-hex": true,
"comment-empty-line-before": ["always", {
"ignore": ["stylelint-commands"]
}],
"custom-property-pattern": null,
"declaration-empty-line-before": null,
"max-line-length": null,
"max-nesting-depth": 8,
"number-leading-zero": "never",
"order/properties-alphabetical-order": true,
"property-no-vendor-prefix": null,
"rule-empty-line-before": [
"always", {
"except": ["first-nested", "after-single-line-comment"]
}
],
"scale-unlimited/declaration-strict-value": [
["/color/", "fill", "stroke", "font-size", "border-radius", "z-index"],
{
"ignoreValues": ["transparent", "inherit", "currentColor", "currentcolor", "none", "underline", "medium", "unset"]
}
],
"selector-class-pattern": null,
"selector-type-case": null,
"string-quotes": "single"
}
}