-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
22 lines (22 loc) · 938 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
{
"extends": "stylelint-config-standard-scss",
"ignoreFiles": ["src/scss/vendor/*.scss","src/scss/abstract/*.scss"],
"plugins": ["stylelint-selector-bem-pattern", "stylelint-use-logical"],
"rules": {
"at-rule-empty-line-before": null,
"no-descending-specificity": true,
"media-feature-range-notation": null,
"value-keyword-case": null,
"scss/no-global-function-names": null,
"csstools/use-logical": ["always", { "except": ["width", "height", "max-width", "max-height", "min-width", "min-height", "top", "left", "bottom", "right", "text-align"] }],
"selector-class-pattern": [
"^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$",
{
"message": "Expected BEM naming convention for class.",
"resolveNestedSelectors": true
}
],
"declaration-block-no-redundant-longhand-properties": null,
"font-family-name-quotes": "always-unless-keyword"
}
}