-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
41 lines (41 loc) · 1.14 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
{
"extends": [
"stylelint-config-sass-guidelines"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"first-nested",
"blockless-after-blockless"
],
"ignore": [
"after-comment"
]
}
],
"max-nesting-depth": [
1,
{
"ignoreAtRules": [
"each",
"media",
"supports",
"include"
],
"ignore": [
"blockless-at-rules"
]
}
],
"selector-class-pattern": [
"^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$",
{
"message": "Selector should be written in kebab-case and in the BEM format `.block__element--modifier` (selector-class-pattern)"
}
],
"scss/at-mixin-argumentless-call-parentheses": "never",
"selector-pseudo-element-colon-notation": "single"
}
}