-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
87 lines (86 loc) · 2.1 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"extends": [
"@wordpress/stylelint-config",
"stylelint-config-recommended",
"stylelint-config-recommended-scss",
"stylelint-prettier/recommended"
],
"plugins": ["stylelint-scss", "stylelint-prettier"],
"ignoreFiles": ["sass/_normalize.scss"],
"stylelint.validate": ["css", "scss"],
"rules": {
"prettier/prettier": true,
"scss/dollar-variable-pattern": null,
"font-family-no-missing-generic-family-keyword": null,
"no-descending-specificity": null,
"block-no-empty": null,
"no-duplicate-selectors": null,
"font-family-no-duplicate-names": null,
"selector-class-pattern": null,
"number-leading-zero": null,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"value-list-comma-newline-after": "never-multi-line",
"declaration-colon-newline-after": "always-multi-line",
"unit-allowed-list": [
"em",
"rem",
"%",
"px",
"fr",
"vh",
"s",
"vw",
"ms",
"deg"
],
"at-rule-empty-line-before": [
"never",
{
"ignore": [
"after-comment",
"first-nested",
"inside-block",
"blockless-after-same-name-blockless",
"blockless-after-blockless"
]
}
],
"rule-empty-line-before": [
"always",
{
"ignore": ["after-comment", "first-nested", "inside-block"]
}
],
"declaration-empty-line-before": [
"never",
{
"ignore": [
"after-comment",
"after-declaration",
"inside-single-line-block"
]
}
],
"indentation": "tab",
"color-hex-length": "long",
"color-named": null,
"selector-no-qualifying-type": [true, {"ignore": ["attribute"]}],
"declaration-no-important": null,
"function-url-quotes": "always",
"font-family-name-quotes": "always-where-recommended",
"comment-whitespace-inside": "always",
"comment-empty-line-before": "always",
"selector-pseudo-element-colon-notation": "double",
"media-feature-range-operator-space-before": "always",
"media-feature-range-operator-space-after": "always",
"keyframe-block-no-duplicate-selectors": true,
"selector-id-pattern": null
},
"overrides": [
{
"files": ["*.scss", "**/*.scss"],
"customSyntax": "postcss-scss"
}
]
}