-
Notifications
You must be signed in to change notification settings - Fork 47
/
.stylelintrc
39 lines (39 loc) · 945 Bytes
/
.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
35
36
37
38
39
{
"extends": "stylelint-config-recommended",
"plugins": [
"stylelint-selector-bem-pattern"
],
"customSyntax": "postcss-scss",
"rules": {
"annotation-no-unknown": [
true,
{
"ignoreAnnotations": ["default"],
}
],
"at-rule-no-unknown": null,
"media-query-no-invalid": null,
"no-descending-specificity": null,
"unit-allowed-list": ["rem", "em", "%", "ms", "s", "deg", "vh", "vw", "fr"],
"declaration-empty-line-before": [
"always",
{
"except": ["after-declaration"],
"ignore": ["after-comment", "first-nested", "inside-single-line-block"],
"severity": "warning"
}
],
"rule-empty-line-before": [
"always",
{
"ignore": ["after-comment", "first-nested"],
}
],
"function-no-unknown": [
true,
{
"ignoreFunctions": ["space", "map-get", "percentage", "/math.*/"],
}
]
}
}