Skip to content

Commit 91eb727

Browse files
author
Marco Solazzi
committed
updated stylelint conf
1 parent 5a6f630 commit 91eb727

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.stylelintrc.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
"rules": {
99
"indentation": 4,
1010
"max-empty-lines": 3,
11-
"rule-nested-empty-line-before": ["always", { "ignore": ["after-comment"]}],
12-
"no-missing-end-of-source-newline": null,
13-
"at-rule-empty-line-before": ["always", {
14-
"except": [
15-
"blockless-group", "first-nested"
16-
],
17-
"ignoreAtRules": ["import", "if", "each", "for", "else", "content", "return", "warn"],
11+
"rule-nested-empty-line-before": ["always", {
1812
"ignore": ["after-comment"]
1913
}],
14+
"at-rule-empty-line-before": [ "always", {
15+
"ignore": ["after-comment", "blockless-group", "all-nested"],
16+
"ignoreAtRules": ["else", "content", "return", "warn"]
17+
}],
2018
"block-closing-brace-newline-after": ["always", {
21-
"ignoreAtRules": ["if", "else"]
19+
"ignoreAtRules": ["if", "else", "content", "return", "warn"]
2220
}],
21+
"declaration-colon-newline-after": null,
22+
"function-comma-newline-after": null,
23+
"no-missing-end-of-source-newline": null,
2324
"declaration-empty-line-before": "never",
2425
"declaration-block-properties-order": [
2526

0 commit comments

Comments
 (0)