-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
31 lines (31 loc) · 871 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
# Overview of all rules: https://github.com/stylelint/stylelint/blob/master/docs/user-guide/rules.md
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
],
"plugins": [
"stylelint-scss"
],
"rules": {
"indentation": null,
"selector-max-specificity": "0,3,0",
"selector-max-compound-selectors": 4,
"declaration-no-important": true,
"declaration-property-unit-whitelist": {
"font-size": ["px"]
},
"no-missing-end-of-source-newline": null,
"max-nesting-depth": [
3,
{ "ignoreAtRules": [ "include", "media"] }
],
"scss/selector-no-redundant-nesting-selector": true,
"scss/at-mixin-named-arguments": ["always",
{ "ignore": ["single-argument"] }
],
"scss/at-function-named-arguments": ["always",
{ "ignore": ["single-argument"] }
],
}
}