-
Notifications
You must be signed in to change notification settings - Fork 6
/
.stylelintrc.cjs
45 lines (38 loc) · 1.46 KB
/
.stylelintrc.cjs
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
module.exports = {
// plugins: ["stylelint-import"],
extends: ["stylelint-config-standard"],
rules: {
"declaration-block-single-line-max-declarations": 3,
"alpha-value-notation": "number",
"custom-property-pattern": null,
"declaration-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
// "import/rule": true,
"custom-property-empty-line-before": null,
"comment-empty-line-before": null,
// alow empty variable https://github.com/postcss/postcss/issues/1404
// "declaration-block-semicolon-space-before": null,
// "declaration-colon-space-after": null,
"selector-class-pattern": null,
"media-feature-name-no-vendor-prefix": null,
"comment-no-empty": null,
"selector-list-comma-newline-after": null,
"property-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"no-descending-specificity": null,
"value-keyword-case": null,
"number-max-precision": null,
"function-url-quotes": ["always", { except: ["empty"] }],
"at-rule-no-unknown": [true, { ignoreAtRules: ["container"] }],
"length-zero-no-unit": [true, { ignore: ["custom-properties"] }],
"property-no-unknown": [true, { ignoreProperties: [/^font-smooth/] }],
"selector-pseudo-class-no-unknown": [
true,
{ ignorePseudoClasses: ["open"] },
],
"selector-type-no-unknown": [
true,
{ ignore: ["custom-elements"], ignoreTypes: ["selectmenu"] },
],
},
}