Skip to content

Commit e2c05c8

Browse files
committed
Обновил конфиг stylelint
1 parent 70efe1a commit e2c05c8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.stylelintrc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
"function-comma-space-after": "always",
1717
"function-comma-space-before": "never",
1818
"function-linear-gradient-no-nonstandard-direction": true,
19+
"function-max-empty-lines": 0,
20+
"function-name-case": "lower",
1921
"function-parentheses-newline-inside": null,
2022
"function-parentheses-space-inside": "never",
23+
"function-url-data-uris": null,
2124
"function-url-quotes": "double",
2225
"function-whitelist": null,
2326
"function-whitespace-after": "always",
@@ -33,10 +36,13 @@
3336
"time-no-imperceptible": null,
3437

3538
"unit-blacklist": null,
39+
"unit-case": "lower",
40+
"unit-no-unknown": true,
3641
"unit-whitelist": null,
3742

3843
"value-no-vendor-prefix": null,
3944

45+
"value-keyword-case": "lower",
4046
"value-list-comma-newline-after": "always-multi-line",
4147
"value-list-comma-newline-before": "never-multi-line",
4248
"value-list-comma-space-after": "always-single-line",
@@ -45,14 +51,19 @@
4551
"custom-property-no-outside-root": null,
4652
"custom-property-pattern": null,
4753

54+
"shorthand-property-no-redundant-values": null,
55+
4856
"property-blacklist": null,
57+
"property-case": "lower",
4958
"property-no-vendor-prefix": null,
5059
"property-unit-blacklist": null,
5160
"property-unit-whitelist": null,
5261
"property-value-blacklist": null,
5362
"property-value-whitelist": null,
5463
"property-whitelist": null,
5564

65+
"keyframe-declaration-no-important": true,
66+
5667
"declaration-bang-space-after": "never",
5768
"declaration-bang-space-before": "always",
5869
"declaration-colon-newline-after": "always-multi-line",
@@ -61,6 +72,7 @@
6172
"declaration-no-important": null,
6273

6374
"declaration-block-no-duplicate-properties": true,
75+
"declaration-block-no-ignored-properties": true,
6476
"declaration-block-no-shorthand-property-overrides": true,
6577
"declaration-block-properties-order": null,
6678
"declaration-block-semicolon-newline-after": "always",
@@ -81,20 +93,36 @@
8193
"block-opening-brace-space-after": "always-single-line",
8294
"block-opening-brace-space-before": "always",
8395

96+
"selector-attribute-brackets-space-inside": "never",
97+
"selector-attribute-operator-blacklist": null,
98+
"selector-attribute-operator-space-after": "never",
99+
"selector-attribute-operator-space-before": "never",
100+
"selector-attribute-operator-whitelist": null,
84101
"selector-class-pattern": null,
85102
"selector-combinator-space-after": "always",
86103
"selector-combinator-space-before": "always",
87104
"selector-id-pattern": null,
105+
"selector-max-compound-selectors": 3,
88106
"selector-max-specificity": null,
89107
"selector-no-attribute": null,
90108
"selector-no-combinator": null,
91109
"selector-no-id": null,
110+
"selector-no-qualifying-type": [true, {
111+
"ignore": ["attribute"]
112+
}],
92113
"selector-no-type": null,
93114
"selector-no-universal": null,
94115
"selector-no-vendor-prefix": null,
116+
"selector-pseudo-class-case": "lower",
117+
"selector-pseudo-class-no-unknown": true,
118+
"selector-pseudo-class-parentheses-space-inside": "never",
119+
"selector-pseudo-element-case": "lower",
95120
"selector-pseudo-element-colon-notation": "double",
121+
"selector-pseudo-element-no-unknown": true,
96122
"selector-root-no-composition": null,
97123
"selector-type-case": "lower",
124+
"selector-type-no-unknown": true,
125+
"selector-max-empty-lines": 0,
98126

99127
"selector-list-comma-newline-after": "always",
100128
"selector-list-comma-newline-before": "never-multi-line",
@@ -133,11 +161,16 @@
133161
],
134162
"ignore": ["after-comment"]
135163
}],
164+
"at-rule-name-case": "lower",
165+
"at-rule-name-space-after": "always",
136166
"at-rule-no-vendor-prefix": null,
137167
"at-rule-semicolon-newline-after": "always",
138168

169+
"stylelint-disable-reason": "always-before",
170+
139171
"comment-empty-line-before": null,
140172
"comment-whitespace-inside": null,
173+
"comment-word-blacklist": null,
141174

142175
"indentation": [2, {
143176
"except": ["value"]
@@ -150,6 +183,7 @@
150183
"no-descending-specificity": null,
151184
"no-duplicate-selectors": true,
152185
"no-eol-whitespace": true,
186+
"no-extra-semicolons": true,
153187
"no-indistinguishable-colors": null,
154188
"no-invalid-double-slash-comments": true,
155189
"no-missing-eof-newline": true,

0 commit comments

Comments
 (0)