forked from iTwin/iTwinUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
37 lines (37 loc) · 1019 Bytes
/
.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
{
"extends": [
"stylelint-config-sass-guidelines"
],
"rules": {
"color-hex-case": "upper",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-property-value-disallowed-list": {
"border": ["/^0/"],
"border-top": ["/^0/"],
"border-right": ["/^0/"],
"border-bottom": ["/^0/"],
"border-left": ["/^0/"]
},
"no-eol-whitespace": true,
"function-parentheses-space-inside": "never-single-line",
"max-nesting-depth": 6,
"order/order": null,
"order/properties-alphabetical-order": null,
"selector-class-pattern": [
"iui-[a-z]+",
{
"severity": "warning",
"resolveNestedSelectors": true
}
],
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-max-compound-selectors": 5,
"selector-max-id": 1,
"selector-no-qualifying-type": null,
"scss/dollar-variable-pattern": null
},
"ignoreFiles": [
"lib/**/*"
]
}