-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.stylelintrc
37 lines (37 loc) · 917 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
30
31
32
33
34
35
36
37
{
"extends": ["stylelint-config-standard-scss", "stylelint-config-prettier-scss"],
"rules": {
"scss/at-mixin-pattern": [
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Expected mixin name to be kebab-case"
}
],
"scss/at-function-pattern": [
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Expected function name to be kebab-case"
}
],
"scss/dollar-variable-pattern": [
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Expected variable to be kebab-case"
}
],
"scss/at-extend-no-missing-placeholder": null,
"no-descending-specificity": null,
"length-zero-no-unit": [
true,
{
"ignore": ["custom-properties"]
}
],
"declaration-block-no-redundant-longhand-properties": [
true,
{
"ignoreShorthands": ["transition"]
}
]
}
}