-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.stylelintrc
44 lines (44 loc) · 1.41 KB
/
.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
38
39
40
41
42
43
44
{
"plugins": [
"stylelint-scss",
"stylelint-order",
"stylelint-no-unsupported-browser-features",
"stylelint-declaration-use-variable",
"stylelint-declaration-strict-value",
"stylelint-at-rule-no-children",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-value-no-unknown-custom-properties",
"stylelint-z-index-value-constraint",
"stylelint-selector-no-utility",
"stylelint-prettier"
],
"extends": [
"stylelint-config-sass-guidelines",
"stylelint-config-css-modules",
"stylelint-prettier/recommended"
],
"rules": {
"prettier/prettier": true,
"sh-waqar/declaration-use-variable": [["color", "font-family"]],
"scale-unlimited/declaration-strict-value": [["color", "font-family"]],
"plugin/declaration-block-no-ignored-properties": true,
"plugin/no-unsupported-browser-features": [
true,
{
"severity": "warning"
}
],
"csstools/value-no-unknown-custom-properties": true,
"plugin/z-index-value-constraint": {
"min": 0,
"max": 10
},
"primer/selector-no-utility": true,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["function", "if", "each", "include", "mixin"]
}
]
}
}