generated from morewings/react-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
29 lines (29 loc) · 839 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": [
"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,
"declaration-block-no-redundant-longhand-properties": null,
"custom-property-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", {
"message": "Expected \"%s\" variable name to be kebab-case"
}],
"no-descending-specificity": null
},
"plugins": [
"stylelint-order"
],
"ignoreFiles": ["**/*.snap"]
}