-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
37 lines (37 loc) · 1.15 KB
/
.stylelintrc.js
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
module.exports = {
extends: "stylelint-config-standard",
plugins: ["stylelint-scss"],
rules: {
"at-rule-no-unknown": [
true,
{
ignoreAtRules: [
"include",
"for",
"each",
"mixin",
"if",
"else",
"content",
"return",
"warn",
"function",
],
},
],
indentation: 4,
"scss/at-import-no-partial-leading-underscore": true,
"no-descending-specificity": null,
"scss/dollar-variable-no-missing-interpolation": true,
"scss/media-feature-value-dollar-variable": "always",
"scss/selector-no-redundant-nesting-selector": true,
"at-rule-empty-line-before": [
"always",
{
ignoreAtRules: ["else"],
ignore: ["blockless-after-same-name-blockless", "inside-block"],
},
],
"block-closing-brace-newline-after": ["always", { ignoreAtRules: ["if", "else"] }],
},
};