Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore at-rule line break for if/else/elseif #170

Merged
merged 3 commits into from
Jan 6, 2020

Conversation

mattheu
Copy link
Member

@mattheu mattheu commented Jan 2, 2020

Fixes #160

Ignore if, elseif and else from the rule at-rule-empty-line-before to allow correct formatting of these statements.

Copy link
Contributor

@mikeselander mikeselander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me but would appreciate @ntwb's 👀 for a double-check.

Copy link
Member

@ntwb ntwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼 Tested here

@mikeselander mikeselander merged commit c29b383 into master Jan 6, 2020
@mikeselander mikeselander deleted the 160-scss-at-rule-if-else branch January 6, 2020 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stylelint - How to use if/else in SCSS
3 participants