-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
42 lines (42 loc) · 1.21 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
{
"extends": [
"stylelint-scss",
"stylelint-config-standard",
],
"plugins": ["stylelint-scss"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends", "ignores", "include", "mixin", "if", "else", "tailwind", "/^my-/", "layer"]
}
],
"value-list-comma-newline-after": "always-multi-line",
"color-hex-case": "upper",
"no-duplicate-selectors": null,
"no-descending-specificity": null,
"number-leading-zero": never,
"indentation": 2,
"unit-allowed-list": ["em", "rem", "s", "%", "px", "deg"],
"block-closing-brace-newline-after": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"at-rule-empty-line-before": [ "always", {
except: [
"blockless-after-same-name-blockless",
"first-nested",
],
ignore: ["after-comment"],
}],
"max-empty-lines": 1,
"rule-empty-line-before": [ "always-multi-line", {
except: ["after-single-line-comment"],
ignore: ["after-comment", "first-nested"],
} ],
"scss/dollar-variable-empty-line-before": [ "always", {
except: [
"after-dollar-variable",
],
ignore: ["after-comment"],
} ]
}
}