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

Trailing Empty lines linter is missing (compared to slim-lint) #422

Closed
tagliala opened this issue Jul 11, 2023 · 0 comments · Fixed by #424
Closed

Trailing Empty lines linter is missing (compared to slim-lint) #422

tagliala opened this issue Jul 11, 2023 · 0 comments · Fixed by #424

Comments

@tagliala
Copy link
Contributor

Hi,

I've noticed that haml-lint does not report trailing empty lines compared to slim-lint

So

%h1 Hello

will not raise offenses

I understand that probably because this needs a specific linter that is missing

tagliala added a commit to tagliala/haml-lint that referenced this issue Jul 14, 2023
tagliala added a commit to tagliala/haml-lint that referenced this issue Jul 15, 2023
HAML documents should not contain empty lines at the end of the file.

Inspired by Slim lint's `TrailingBlankLines`


Close sds#422
tagliala added a commit to tagliala/haml-lint that referenced this issue Jul 15, 2023
HAML documents should not contain empty lines at the end of the file.

Inspired by Slim lint's `TrailingBlankLines`


Close sds#422
tagliala added a commit to tagliala/haml-lint that referenced this issue Jul 15, 2023
HAML documents should not contain empty lines at the end of the file.

Inspired by Slim lint's `TrailingBlankLines`

Close sds#422
@sds sds closed this as completed in #424 Jul 15, 2023
sds pushed a commit that referenced this issue Jul 15, 2023
HAML documents should not contain empty lines at the end of the file.

Inspired by Slim lint's `TrailingBlankLines`

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

Successfully merging a pull request may close this issue.

1 participant