forked from emilmor/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
51 lines (51 loc) · 1.32 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
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-recommended-scss"
],
"plugins": [
"stylelint-value-no-unknown-custom-properties",
],
"rules": {
"csstools/value-no-unknown-custom-properties": [
true,
{
"importFrom": [
"./design-system/src/design-tokens/variables.css",
"./design-system/dist/ks-design-tokens.css"
]
}
],
"no-descending-specificity": null,
"color-no-invalid-hex": true,
"color-no-hex": true,
"selector-max-id": 0,
"selector-max-class": 3,
"no-duplicate-selectors": true,
"block-no-empty": null,
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"indentation": [
2,
{
"ignore": [
"inside-parens",
"param",
"value"
]
}
],
"max-nesting-depth": [
3
],
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-missing-end-of-source-newline": true,
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["function", "if", "each", "include", "mixin"]
}]
}
}