Skip to content

Files

Latest commit

 

History

History
25 lines (17 loc) · 388 Bytes

Layout-HeredocIndentation.md

File metadata and controls

25 lines (17 loc) · 388 Bytes

Pattern: Malformed heredoc indentation

Issue: -

Description

This rule checks the indentation of the here document bodies. The bodies are indented one step.

Examples

# bad
<<-RUBY
something
RUBY

# good
<<~RUBY
  something
RUBY

Further Reading