-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.js
More file actions
30 lines (30 loc) · 798 Bytes
/
stylelint.config.js
File metadata and controls
30 lines (30 loc) · 798 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
module.exports = {
"extends": "stylelint-config-standard",
"ignoreFiles": ["./node_modules/**/*.css"],
"rules": {
"no-descending-specificity": null,
"block-no-empty": true,
"color-no-invalid-hex": true,
"selector-max-class": 4,
"selector-max-empty-lines": 0,
"declaration-no-important": null,
"unit-no-unknown": true,
"function-calc-no-invalid": null,
"property-no-unknown": [
true,
{
"ignoreProperties": ["/tap-highlight-color/", "string"]
}
],
"selector-max-id": 0,
"unit-allowed-list": ["em", "rem", "%", "s", "px", "deg", "vh", "ms", "vw", "fr", "ch"],
"indentation": 4,
"selector-pseudo-class-no-unknown": true,
"max-empty-lines": [
2,
{
"ignore": ["comments"]
}
]
}
}