forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
65 lines (65 loc) · 1.64 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
{
"plugins": [
"stylelint-declaration-use-variable"
],
"rules": {
"sh-waqar/declaration-use-variable": [
[
"font-family",
{
"ignoreValues": [
"inherit", "transparent"
]
},
"background-color",
{
"ignoreValues": [
"inherit",
"none",
"transparent"
]
},
"z-index", {},
"color",
{
"ignoreValues": [
"inherit",
"transparent"
]
}
]
],
"color-no-hex": true,
"color-named": "never",
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-redundant-longhand-properties": true,
"no-duplicate-selectors": true,
"block-no-empty": true,
"indentation": 2,
"function-url-quotes": "never",
"length-zero-no-unit": true,
"max-empty-lines": 1,
"no-eol-whitespace": true,
"number-leading-zero": "never",
"no-missing-end-of-source-newline": true,
"max-line-length": 100,
"shorthand-property-no-redundant-values":true,
"selector-max-specificity": "1,4,0",
"unit-no-unknown": true,
"property-no-unknown": true,
"declaration-block-no-shorthand-property-overrides": true,
"selector-pseudo-class-no-unknown": [true, {"ignorePseudoClasses": ["selected"]}],
"selector-pseudo-element-no-unknown": true,
"selector-type-no-unknown": true,
"media-feature-name-no-unknown": true,
"at-rule-no-unknown": true,
"comment-no-empty": true,
"no-duplicate-at-import-rules": true,
"no-extra-semicolons": true,
"no-empty-source": true,
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"no-descending-specificity": true,
"string-quotes": ["double", {"avoidEscape":false}]
}
}