forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.stylelintrc.json
More file actions
48 lines (48 loc) · 1.49 KB
/
Copy path.stylelintrc.json
File metadata and controls
48 lines (48 loc) · 1.49 KB
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
{
"extends": ["stylelint-prettier/recommended"],
"plugins": [
"stylelint-declaration-strict-value",
"./stylelint/ol-import-at-top.cjs"
],
"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,
"function-url-quotes": "never",
"length-zero-no-unit": true,
"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, {"ignoreTypes": ["/^ol-/"]}],
"media-feature-name-no-unknown": true,
"at-rule-no-unknown": true,
"ol/import-at-top": true,
"comment-no-empty": true,
"no-duplicate-at-import-rules": 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
}
}