-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.stylelintrc.json
70 lines (70 loc) · 2.05 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
66
67
68
69
70
{
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines"
],
"plugins": [
"stylelint-use-logical",
"@double-great/stylelint-a11y",
"@db-ui/stylelint"
],
"rules": {
"db-ui/use-spacings": [
true,
{
"allowCalc": true,
"allow": {
"includes": [
"-calc",
"$default-icon-margin",
"form-components."
],
"startsWith": ["icons.$", "map.get"]
}
}
],
"db-ui/use-border-height": [true],
"db-ui/use-border-radius": [true],
"db-ui/use-border-color": [true],
"a11y/media-prefers-reduced-motion": true,
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true,
"csstools/use-logical": ["always", { "except": ["float"] }],
"max-nesting-depth": null,
"selector-type-no-unknown": [true, { "ignoreTypes": ["/^db/"] }],
"no-descending-specificity": null,
"selector-max-compound-selectors": null,
"selector-no-qualifying-type": [
true,
{
"ignore": ["attribute"]
}
],
"number-max-precision": null,
"annotation-no-unknown": [
true,
{
"ignoreAnnotations": ["default", "global"]
}
],
"declaration-property-value-no-unknown": true,
"@stylistic/block-opening-brace-space-before": null,
"@stylistic/color-hex-case": null,
"@stylistic/declaration-bang-space-after": null,
"@stylistic/declaration-bang-space-before": null,
"@stylistic/declaration-block-semicolon-newline-after": null,
"@stylistic/declaration-block-semicolon-space-before": null,
"@stylistic/declaration-block-trailing-semicolon": null,
"@stylistic/declaration-colon-space-after": null,
"@stylistic/declaration-colon-space-before": null,
"@stylistic/function-comma-space-after": null,
"@stylistic/function-parentheses-space-inside": null,
"@stylistic/indentation": null,
"@stylistic/media-feature-parentheses-space-inside": null,
"@stylistic/no-missing-end-of-source-newline": null,
"@stylistic/number-leading-zero": null,
"@stylistic/number-no-trailing-zeros": null,
"@stylistic/selector-list-comma-newline-after": null,
"@stylistic/string-quotes": null
}
}