-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
32 lines (32 loc) · 1009 Bytes
/
.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
{
"extends": [
"@wordpress/stylelint-config/scss"
],
"rules": {
"scss/comment-no-empty": null,
"scss/at-import-no-partial-leading-underscore": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/at-import-partial-extension": null,
"no-invalid-position-at-import-rule": null,
"declaration-property-unit-allowed-list": {
"line-height": ["px"]
},
"block-no-empty": null,
"max-line-length": null,
"comment-empty-line-before": null,
"no-descending-specificity": null,
"selector-id-pattern": null,
"selector-class-pattern": "^[a-z/-]+(-[a-z]+)*",
"at-rule-empty-line-before": ["always", {
"except": ["blockless-after-blockless", "first-nested"],
"ignore": ["after-comment", "inside-block"]
}],
"rule-empty-line-before": ["always", {
"except": ["first-nested"],
"ignore": ["after-comment", "inside-block"]
}],
"number-leading-zero": null,
"string-no-newline": null,
"indentation": 2
}
}