-
Notifications
You must be signed in to change notification settings - Fork 155
/
.stylelintrc
70 lines (70 loc) · 1.67 KB
/
.stylelintrc
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-recommended-scss",
"stylelint-prettier/recommended"
],
"rules": {
"custom-property-pattern": "^(?!.+)",
"scss/comment-no-empty": null,
"scss/operator-no-newline-after": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
],
"selector-combinator-disallowed-list": [
" "
],
"selector-class-pattern": "^(?!awsui).*?",
"selector-max-type": [0, { "ignore": ["compounded"] }],
"selector-max-universal": [0],
"order/order": [
"declarations",
"rules"
],
"@cloudscape-design/license-headers": [
true,
{
"header": "\n Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n SPDX-License-Identifier: Apache-2.0\n"
}
],
"@cloudscape-design/no-implicit-descendant": [
true,
{
"ignoreParents": [
":global",
"svg",
"@keyframes"
]
}
],
"@cloudscape-design/no-motion-outside-of-mixin": [true],
"plugin/no-unsupported-browser-features": [
true,
{
"ignorePartialSupport": true,
"ignore": ["css-nesting", "css-when-else", "flexbox-gap"]
}
]
},
"overrides": [
{
"files": [
"./src/**/*.scss"
],
"rules": {
"property-disallowed-list": ["border", "border-radius", "border-style", "margin", "padding"],
"csstools/use-logical": "always"
}
}
],
"plugins": [
"stylelint-use-logical",
"stylelint-order",
"stylelint-no-unsupported-browser-features",
"@cloudscape-design/build-tools/stylelint"
]
}