-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
30 lines (30 loc) · 862 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
{
"extends": [
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"rules": {
"function-calc-no-unspaced-operator": true,
"order/order": [
"custom-properties",
"declarations"
],
"order/properties-alphabetical-order": true,
"property-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"at-rule-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"max-nesting-depth": 3,
"selector-max-compound-selectors": 5,
"custom-property-pattern": ["^[a-z][a-zA-Z0-9]+$", {
"message": "Expected \"%s\" variable name to be lower camelCase"
}],
"selector-class-pattern": ["^[a-z][a-zA-Z0-9]+$", {
"message": "Expected \"%s\" class name to be lower camelCase"
}]
},
"plugins": [
"stylelint-order"
],
"ignoreFiles": ["**/*.snap"]
}