-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
49 lines (49 loc) · 1.22 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
{
"extends": "stylelint-config-standard",
"overrides": [
{
"customSyntax": "postcss-scss",
"files": ["**/*.scss"]
},
{
"customSyntax": "postcss-angular",
"files": ["**/*.mts", "**/*.ts"]
}
],
"plugins": ["stylelint-order"],
"rules": {
"at-rule-no-unknown": null,
"color-hex-length": "long",
"custom-property-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"function-no-unknown": null,
"no-descending-specificity": null,
"no-empty-source": null,
"no-invalid-position-at-import-rule": null,
"order/order": ["custom-properties", "declarations"],
"order/properties-alphabetical-order": true,
"rule-empty-line-before": null,
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": ["ng-deep"]
}
],
"selector-type-no-unknown": [
true,
{
"ignore": "custom-elements"
}
],
"shorthand-property-no-redundant-values": null,
"unit-allowed-list": [
["deg", "fr", "s", "rem", "%", "vh", "vw"],
{
"ignoreProperties": {
"px": ["/^border/", "/^outline/"]
}
}
],
"value-keyword-case": null
}
}