-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
111 lines (111 loc) · 2.29 KB
/
.stylelintrc.json
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"extends": [
"stylelint-config-recommended",
"stylelint-a11y/recommended",
"stylelint-config-prettier"
],
"plugins": [
"stylelint-order",
"stylelint-prettier",
"stylelint-scss"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
],
"severity": "warning"
}
],
"at-rule-no-unknown": null,
"at-rule-no-vendor-prefix": true,
"color-hex-length": "long",
"comment-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment",
"stylelint-commands"
],
"severity": "warning"
}
],
"custom-property-empty-line-before": [
"always",
{
"except": [
"after-custom-property",
"first-nested"
],
"ignore": [
"after-comment"
],
"severity": "warning"
}
],
"declaration-empty-line-before": [
"always",
{
"except": [
"after-declaration",
"first-nested"
],
"ignore": [
"after-comment"
],
"severity": "warning"
}
],
"declaration-no-important": true,
"max-empty-lines": 2,
"max-nesting-depth": [
2,
{
"ignore": [
"pseudo-classes"
],
"ignoreAtRules": [
"media",
"supports"
],
"severity": "warning"
}
],
"media-feature-name-no-vendor-prefix": true,
"no-descending-specificity": null,
"order/properties-alphabetical-order": true,
"prettier/prettier": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
],
"severity": "warning"
}
],
"scss/at-rule-no-unknown": true,
"selector-max-compound-selectors": [
3,
{
"severity": "warning"
}
],
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "double",
"value-no-vendor-prefix": true
}
}