forked from kbase/narrative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.css.json
40 lines (40 loc) · 1.17 KB
/
.stylelintrc.css.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
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-no-indistinguishable-colors",
"stylelint-color-format"
],
"rules": {
"color-named": "never",
"color-no-hex": true,
"color-format/format": {
"format": "rgb"
},
"color-function-notation": "modern",
"declaration-block-no-redundant-longhand-properties": true,
"font-family-name-quotes": "always-where-recommended",
"font-family-no-missing-generic-family-keyword": [
true,
{
"ignoreFontFamilies": ["FontAwesome", "Glyphicons Halflings", "kbase-icons"]
}
],
"length-zero-no-unit": true,
"no-descending-specificity": null,
"plugin/stylelint-no-indistinguishable-colors": false,
"selector-max-compound-selectors": 5,
"selector-max-class": 5,
"selector-no-qualifying-type": [
true,
{
"ignore": ["attribute", "class"]
}
],
"shorthand-property-no-redundant-values": true
},
"ignoreFiles": [
"kbase-extension/static/ext_components/**/*.css",
"kbase-extension/static/ext_packages/**/*.css",
"docs/**/*.css"
]
}