You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running haml-lint with rubocop enabled generates a "RuboCop: Layout/IndentationConsistency: Inconsistent indentation detected" failure.
The linter seems to want the contents of the html comment to be aligned with the start of the comment block -- I'm guessing that in the ruby<>haml translation something is lost here. Longer context/description: mastodon/mastodon#28416 (comment)
Is there an obvious workaround or better haml approach here? Am I understanding what's happening? Would love guidance on best approach here (is this a haml lint bug? should we just disable that specific rubocop rule? etc)
The text was updated successfully, but these errors were encountered:
Given an html layout like:
Running haml-lint with rubocop enabled generates a "RuboCop: Layout/IndentationConsistency: Inconsistent indentation detected" failure.
The linter seems to want the contents of the html comment to be aligned with the start of the comment block -- I'm guessing that in the ruby<>haml translation something is lost here. Longer context/description: mastodon/mastodon#28416 (comment)
Is there an obvious workaround or better haml approach here? Am I understanding what's happening? Would love guidance on best approach here (is this a haml lint bug? should we just disable that specific rubocop rule? etc)
The text was updated successfully, but these errors were encountered: