-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
60 lines (60 loc) · 1.35 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
{
"extends": "stylelint-config-recommended",
"ignoreFiles": ["**/dist/**", "**/vendor/**"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extend"]
}
],
"color-hex-length": "short",
"color-named": "never",
"comment-empty-line-before": [
"always",
{
"ignore": ["stylelint-commands"]
}
],
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates"]
}
],
"declaration-property-unit-allowed-list": {
"line-height": ["px"]
},
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": [
"numeric",
{
"ignore": ["relative"]
}
],
"function-name-case": [
"lower",
{
"ignoreFunctions": ["/^DXImageTransform.Microsoft.*$/"]
}
],
"function-url-quotes": "never",
"length-zero-no-unit": true,
"selector-attribute-quotes": "always",
"selector-class-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)"
}
],
"selector-id-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)"
}
],
"selector-pseudo-element-colon-notation": "double",
"selector-type-case": "lower",
"value-keyword-case": "lower"
}
}