-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.stylelintrc
34 lines (34 loc) · 1.11 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
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-rational-order"
],
"plugins": [
"stylelint-order",
"stylelint-scss"
],
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"at-rule-no-vendor-prefix": true,
"color-hex-length": "long",
"color-named": "never",
"comment-empty-line-before": ["always", {
"ignore": ["stylelint-commands"]
}],
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-url-quotes": "always",
"media-query-no-invalid": null,
"no-descending-specificity": null,
"no-unknown-animations": true,
"property-no-vendor-prefix": true,
"selector-class-pattern": "^[a-z0-9]+(-[a-z0-9]+)*(__[a-z]+)?(--[a-z]+)?$",
"selector-type-no-unknown": [true, {"ignore": ["custom-elements"]}],
"unit-allowed-list": ["px", "em", "deg", "ms", "%", "mm", "vh", "dppx", "s"],
"value-keyword-case": "lower",
"value-no-vendor-prefix": true,
"function-no-unknown": null,
"annotation-no-unknown": [true, {"ignoreAnnotations": ["default"]}]
}
}