-
Notifications
You must be signed in to change notification settings - Fork 18
/
.stylelintrc
122 lines (122 loc) · 3.6 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"extends": ["stylelint-config-standard", "stylelint-config-standard-scss"],
"plugins": ["stylelint-performance-animation", "stylelint-prettier"],
"rules": {
"at-rule-allowed-list": [
"at-root",
"content",
"each",
"else",
"error",
"extend",
"font-face",
"for",
"function",
"if",
"import",
"include",
"keyframes",
"media",
"mixin",
"page",
"return",
"supports",
"use",
"warn",
"apply",
"tailwind"
],
"at-rule-empty-line-before": [
"always",
{
"except": ["blockless-after-same-name-blockless"],
"ignore": ["after-comment", "first-nested"],
"ignoreAtRules": ["else"]
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"at-root",
"content",
"each",
"else",
"error",
"extend",
"for",
"function",
"if",
"include",
"mixin",
"return",
"supports",
"use",
"warn",
"apply",
"tailwind"
]
}
],
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-empty-line-before": ["always", { "except": ["first-nested"], "ignore": ["stylelint-commands"] }],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"custom-property-empty-line-before": [
"always",
{
"except": ["after-custom-property", "first-nested"],
"ignore": ["after-comment", "inside-single-line-block"]
}
],
"declaration-block-no-duplicate-properties": [true, { "ignore": ["consecutive-duplicates-with-different-values"] }],
"declaration-block-no-redundant-longhand-properties": [true, { "ignoreShorthands": ["grid-template", "inset"] }],
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-single-line-max-declarations": 1,
"declaration-empty-line-before": null,
"font-family-no-duplicate-names": true,
"function-calc-no-unspaced-operator": true,
"function-linear-gradient-no-nonstandard-direction": true,
"function-name-case": "lower",
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"media-feature-name-no-unknown": true,
"named-grid-areas-no-invalid": true,
"no-empty-source": true,
"no-descending-specificity": null,
"no-invalid-double-slash-comments": true,
"value-keyword-case": null,
"color-function-notation": null,
"alpha-value-notation": null,
"plugin/no-low-performance-animation": [
true,
{
"ignore": [
"background",
"background-color",
"background-position",
"border-color",
"clip-path",
"color",
"fill",
"stroke",
"stroke-dashoffset"
]
}
],
"prettier/prettier": true,
"property-no-unknown": [true, { "ignoreProperties": ["composes", "user-drag"] }],
"rule-empty-line-before": ["always", { "ignore": ["first-nested"] }],
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": [true, { "ignorePseudoClasses": ["global", "user-drag"] }],
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"unit-no-unknown": true,
"property-no-vendor-prefix": [true, { "ignoreProperties": ["mask-position", "mask-size", "mask-image"] }]
}
}