Skip to content

Commit

Permalink
Merge pull request #170 from humanmade/160-scss-at-rule-if-else
Browse files Browse the repository at this point in the history
Ignore at-rule line break for if/else/elseif
  • Loading branch information
mikeselander committed Jan 6, 2020
2 parents cc23bd6 + 9ebd8ad commit c29b383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

### Updated
- Bumped `stylelint-config-wordpress` package to v15 from v13 #165
- Ignore stylelint `at-rule` line break for `if/else/elseif` #170

## 0.7.0 (June 5, 2019)

Expand Down
3 changes: 2 additions & 1 deletion packages/stylelint-config/.stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"always",
{
"except": [ "blockless-after-blockless", "first-nested" ],
"ignore": [ "after-comment" ]
"ignore": [ "after-comment" ],
"ignoreAtRules": [ "if", "else if", "else" ]
}
],
"number-max-precision": 3
Expand Down

0 comments on commit c29b383

Please sign in to comment.