-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
72 lines (72 loc) · 2.11 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
71
72
{
"extends": [
"stylelint-config-standard",
"stylelint-config-rational-order",
"stylelint-config-prettier",
"stylelint-config-styled-components"
],
"customSyntax": "postcss",
"plugins": ["stylelint-order", "stylelint-prettier"],
"processors": [
[
"stylelint-processor-styled-components",
{
"moduleName": "styled-components",
"importName": "default",
"strict": false,
"ignoreFiles": [],
"parserPlugins": [
"tsx",
["decorators", { "decoratorsBeforeExport": true }],
"classProperties",
"exportExtensions",
"functionBind",
"functionSent"
]
}
]
],
"defaultSeverity": "warning",
"rules": {
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global", "input-placeholder"]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": ["input-placeholder"]
}
],
"color-hex-case": "lower",
"color-hex-length": "long",
"indentation": 4,
"no-duplicate-selectors": true,
"at-rule-no-unknown": null,
"value-no-vendor-prefix": [
true,
{
"ignoreValues": ["box"]
}
],
"selector-class-pattern": null,
"value-keyword-case": ["lower", { "ignoreKeywords": ["dummyValue", "$dummyValue"] }],
"declaration-empty-line-before": null,
"no-descending-specificity": null,
"keyframes-name-pattern": "",
"selector-type-case": [
"lower",
{
"ignoreTypes": ["dummyValue", "$dummyValue"]
}
],
"selector-type-no-unknown": [
true,
{
"ignoreTypes": ["dummyValue", "$dummyValue", "/-styled-mixin\\d*/"]
}
]
}
}