forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
56 lines (56 loc) · 1.72 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
{
"customSyntax": "postcss-less",
"plugins": [
"stylelint-declaration-strict-value"
],
"rules": {
"scale-unlimited/declaration-strict-value": [
[
"font-family",
"background-color",
"z-index",
"color"
],
{
"disableFix": true,
"ignoreValues": [
"inherit", "transparent", "none"
]
}
],
"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, {"ignoreFontFamilies": ["!important"]}],
"no-descending-specificity": true,
"string-quotes": ["double", {"avoidEscape":false}],
"declaration-bang-space-before": "always",
"declaration-colon-space-after": "always"
}
}