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

Add a rule to disallow extra newlines before a block closes #1073

Open
tremby opened this issue May 17, 2017 · 1 comment
Open

Add a rule to disallow extra newlines before a block closes #1073

tremby opened this issue May 17, 2017 · 1 comment

Comments

@tremby
Copy link

tremby commented May 17, 2017

The following currently produces no warnings or errors:

.container {
  button {

    display: block;

  }

}

I expect warnings for lines 3, 5, and 7, since I don't want those extra blank lines, even though blank lines between blocks should be allowed.

Am I missing an existing rule which will do this? Or perhaps one could be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants