forked from MastersAcademy/js-course-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
110 lines (95 loc) · 2.85 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"rules": {
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always",
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-case": "lower",
"selector-max-specificity": "0,7,2",
"selector-type-case": "lower",
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"unit-allowed-list": ["em", "rem", "px", "%", "s", "vh", "vw", "deg", "ms", "fr"],
"color-hex-case": "upper",
"color-named": "never",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"font-weight-notation": "numeric",
"function-calc-no-unspaced-operator": true,
"function-comma-newline-before": "never-multi-line",
"function-comma-space-before": "never-single-line",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never",
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"function-whitespace-after": "always",
"string-no-newline": true,
"string-quotes": "double",
"length-zero-no-unit": true,
"time-min-milliseconds": 100,
"unit-case": "lower",
"value-keyword-case": "lower",
"value-no-vendor-prefix": true,
"max-empty-lines": 2,
"indentation": [ 2, {
"indentInsideParens": "twice"
}],
"max-nesting-depth": 4,
"no-descending-specificity": true,
"no-empty-source": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-unknown-animations": true,
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"block-no-empty": true,
"shorthand-property-no-redundant-values": true,
"declaration-empty-line-before": [
"always",
{
"except": [
"after-declaration",
"first-nested"
]
}
],
"block-closing-brace-empty-line-before": "never",
"rule-empty-line-before": [
"always-multi-line"
],
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"include",
"mixin",
"content",
"at-root"
]
}
],
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-before": "always",
"block-opening-brace-space-after": "always-single-line"
},
"ignoreFiles": [
"./homeworks/**/dist/**/*",
"./homeworks/**/node_modules/**/*"
]
}