-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.json
55 lines (55 loc) · 1.31 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
50
51
52
53
54
55
{
"plugins": ["stylelint-scss"],
"extends": [
"stylelint-config-wordpress",
"stylelint-config-wordpress/scss",
"stylelint-config-prettier"
],
"rules": {
"string-quotes": "single",
"at-rule-empty-line-before": [
"always",
{
"except": ["blockless-after-same-name-blockless"],
"ignore": ["after-comment", "first-nested"],
"ignoreAtRules": ["else"],
"severity": "warning"
}
],
"scss/at-if-closing-brace-newline-after": ["always-last-in-chain", {}],
"scss/at-if-closing-brace-space-after": ["always-intermediate", {}],
"custom-property-empty-line-before": [
"always",
{
"except": ["after-custom-property"],
"ignore": ["after-comment", "first-nested", "inside-single-line-block"],
"severity": "warning"
}
],
"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"],
"severity": "warning"
}
],
"value-keyword-case": [
"lower",
{
"ignoreKeywords": ["BlinkMacSystemFont"],
"severity": "warning"
}
],
"function-url-quotes": "always",
"no-descending-specificity": null,
"selector-class-pattern": null
}
}