-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
49 lines (49 loc) · 1.1 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-recommended",
"stylelint-config-idiomatic-order"
],
"plugins": [ "stylelint-scss" ],
"overrides": [
{
"files": [ "htdocs/wp-content/themes/**/assets/scss/**/*.scss" ],
"customSyntax": "postcss-scss"
}
],
"rules": {
"at-rule-no-unknown": null,
"function-no-unknown": null,
"scss/function-no-unknown": null,
"no-descending-specificity": null,
"no-invalid-position-at-import-rule": null,
"selector-pseudo-element-colon-notation": "double",
"font-family-no-missing-generic-family-keyword": [
true,
{
"ignoreFontFamilies": [ "/Font Awesome/" ]
}
],
"rule-empty-line-before": [
"always-multi-line",
{
"ignore": [ "after-comment" ],
"except": [ "first-nested" ]
}
],
"comment-empty-line-before": "always",
"scss/double-slash-comment-whitespace-inside": "always",
"scss/double-slash-comment-empty-line-before": [
"always",
{
"ignore": [ "between-comments", "stylelint-commands" ],
"except": [ "first-nested" ]
}
],
"annotation-no-unknown": [
true,
{
"ignoreAnnotations": [ "default" ]
}
]
}
}