-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
73 lines (73 loc) · 2.39 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
{
"ignoreFiles": [
"./node_modules/**"
],
"plugins": [
"stylelint-scss"
],
"rules": {
"declaration-property-value-blacklist": {
"border": ["none"]
},
"declaration-empty-line-before": "never",
"declaration-no-important": true,
"declaration-property-unit-whitelist": {
"line-height": [],
"letter-spacing": ["em", "rem"]
},
"declaration-block-no-duplicate-properties": true,
"selector-max-empty-lines": 1,
"max-empty-lines": 1,
"block-opening-brace-space-before": "always",
"block-opening-brace-newline-after": "always-multi-line",
"block-closing-brace-newline-after": [
"always-multi-line", {
"ignoreAtRules": ["if", "else"]
}
],
"no-missing-end-of-source-newline": true,
"block-no-empty": true,
"block-closing-brace-empty-line-before": "never",
"rule-empty-line-before": [
"always", {
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"indentation": 2,
"color-hex-length": null,
"function-parentheses-space-inside": "never",
"number-leading-zero": "always",
"color-hex-case": "lower",
"no-duplicate-selectors": true,
"max-nesting-depth": 4,
"string-quotes": "single",
"declaration-block-trailing-semicolon": "always",
"no-eol-whitespace": true,
"number-no-trailing-zeros": true,
"selector-pseudo-element-colon-notation": "double",
"selector-list-comma-newline-after": "always",
"value-list-comma-space-after": "always-single-line",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"function-url-quotes": "always",
"shorthand-property-no-redundant-values": true,
"declaration-block-semicolon-newline-after": "always",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-whitelist": [""],
"scss/selector-no-redundant-nesting-selector": true,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"at-rule-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"length-zero-no-unit": true,
"at-rule-no-unknown": [
true, {
"ignoreAtRules": ["include", "for"]
}
]
}
}