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

Empty new line doesn't throw an error. "no-trailing-whitespace" doesn't help. #1093

Open
marvhock opened this issue Jun 27, 2017 · 1 comment

Comments

@marvhock
Copy link

marvhock commented Jun 27, 2017

Using version 1.10.2.

Having the following code, I expect those empty lines throw an error which they don't.

.close {
  cursor: pointer;



}

The rule no-trailing-whitespace mostly used for preventing an empty line, doesn't work here. It should rather be "no-newline".

Is there a solution for that with the current ruleset, or is there a need for a new rule?

@Potherca
Copy link

This looks like a duplicate of #1073

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