causes/haml-lint — pull request #44 by mbreit (2014-11-28 19:46:00+00:00)
Title: Don't fail on empty comment lines

If you comment out multiple lines in haml, there are often empty lines which just have the '-#' for the comment. The TrailingWhitespace linter does not allow a space at the end of the line but the LeadingCommentSpace linter requires it.

This commit fixes the LeadingCommentSpace linter by allowing a comment without a leading whitespace if the comment is empty.