-
Notifications
You must be signed in to change notification settings - Fork 556
Expand file tree
/
Copy pathstylelint.config.mjs
More file actions
39 lines (39 loc) · 976 Bytes
/
stylelint.config.mjs
File metadata and controls
39 lines (39 loc) · 976 Bytes
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
export default {
extends: ["stylelint-config-standard"],
rules: {
"selector-pseudo-class-no-unknown": [
true,
{
ignorePseudoClasses: ["global"],
},
],
"selector-class-pattern": null,
"custom-property-empty-line-before": null,
"selector-id-pattern": null,
"declaration-empty-line-before": null,
"comment-empty-line-before": null,
"value-keyword-case": ["lower", { camelCaseSvgKeywords: true }],
"media-feature-range-notation": "prefix",
"no-descending-specificity": null,
"property-no-unknown": [
true,
{
ignoreProperties: ["composes"],
},
],
"selector-max-id": [
0,
{
message: "ID selectors are forbidden — use classes instead",
severity: "warning",
},
],
"max-nesting-depth": [
4,
{
message: "Nesting depth > 4 — simplify selector or use a class",
severity: "warning",
},
],
},
};