-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.stylelintrc.json
More file actions
62 lines (62 loc) · 1.36 KB
/
.stylelintrc.json
File metadata and controls
62 lines (62 loc) · 1.36 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": ["stylelint-config-standard-scss"],
"plugins": [
"stylelint-use-logical",
"@double-great/stylelint-a11y",
"@db-ux/core-stylelint"
],
"rules": {
"db-ux/use-spacings": [
true,
{
"allowCalc": true,
"allow": {
"includes": [
"-calc",
"$default-icon-margin",
"form-components.",
"section-padding-inline"
],
"startsWith": ["icons.$", "map.get"]
}
}
],
"db-ux/use-sizing": [
true,
{
"allowCalc": true,
"allow": {
"includes": ["$db-", "$font-size-height"],
"startsWith": [
"icons.$",
"component.$",
"form-components.$"
],
"exact": ["$popover-gap-size", "$scrollbar-width"]
}
}
],
"db-ux/use-border-width": [
true,
{
"allowCalc": true,
"allow": { "startsWith": ["component.$", "form-components.$"] }
}
],
"db-ux/use-border-radius": [true],
"db-ux/use-border-color": [
true,
{
"allow": { "startsWith": ["component.$", "form-components.$"] }
}
],
"a11y/media-prefers-reduced-motion": true,
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true,
"csstools/use-logical": ["always", { "except": ["float"] }],
"selector-type-no-unknown": [true, { "ignoreTypes": ["/^db/"] }],
"no-descending-specificity": null,
"number-max-precision": null,
"scss/operator-no-newline-after": null
}
}