-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
.stylelintrc
96 lines (96 loc) · 2.66 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-no-unsupported-browser-features",
"stylelint-order"
],
"ignoreFiles": ["**/*.js","**/*.jsx","**/*.ts","**/*.tsx","**/*.html"],
"rules": {
"declaration-block-no-redundant-longhand-properties": [
true,
{
"ignoreShorthands": ["flex-flow"]
}
],
"function-comma-space-after": "always",
"declaration-block-no-duplicate-properties": null,
"comment-empty-line-before": [
"always"
],
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["function", "if", "each", "include", "mixin"]
}],
"at-rule-empty-line-before": [
"always",
{
"except": [
"after-same-name"
]
}
],
"number-leading-zero": "never",
"indentation": [
2, {
"indentInsideParens": "once-at-root-twice-in-block",
"severity": "error"
}
],
"plugin/no-unsupported-browser-features": [
true,
{
"severity": "warning",
"ignore": [
"css-boxshadow",
"pointer-events",
"border-radius",
"border-image",
"css-gradients",
"css-textshadow",
"transforms2d",
"css-animation",
"css-transitions",
"css-transform",
"transition",
"transform",
"css-image-set",
"flexbox",
"viewport-units",
"calc",
"intrinsic-width"
]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global", "local"]
}
],
"selector-pseudo-class-case": null,
"property-no-unknown": [
true,
{
"ignoreProperties": ["composes", "r"]
}
],
"unit-no-unknown": [
true,
{
"ignoreUnits": ["x"]
}
],
"order/order": [
[
"custom-properties",
"at-variables",
"declarations",
"at-rules",
"rules",
"less-mixins"
],
{
"severity": "warning"
}
]
}
}