-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
29 lines (29 loc) · 948 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
{
"extends": "@wordpress/stylelint-config/scss",
"plugins": [
"stylelint-use-logical"
],
"rules": {
"selector-class-pattern": "^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$",
"no-descending-specificity": null,
"media-feature-name-no-unknown": null,
"csstools/use-logical": [ "always", { "except": [ "float", "width", "height", "min-width", "max-width", "min-height", "max-height" ] } ],
"declaration-no-important": true,
"at-rule-empty-line-before": [
"always",
{
"except": [ "first-nested", "blockless-after-blockless" ],
"ignore": [ "after-comment" ]
}
],
"rule-empty-line-before": [
"always",
{
"ignore": [ "first-nested", "after-comment" ]
}
],
"no-duplicate-selectors": null,
"scss/selector-no-redundant-nesting-selector": null
},
"ignoreFiles": [ "tools/wordpress/**/*" ]
}