Skip to content

Files

Latest commit

 

History

History
31 lines (21 loc) · 601 Bytes

Layout-LineContinuationLeadingSpace.md

File metadata and controls

31 lines (21 loc) · 601 Bytes

Pattern: Use of leading space for multi-lines

Issue: -

Description

Checks that strings broken over multiple lines (by a backslash) contain trailing spaces instead of leading spaces.

Examples

# bad
'this text contains a lot of' \
'               spaces'

# good
'this text contains a lot of               ' \
'spaces'

# bad
'this text is too' \
' long'

# good
'this text is too ' \
'long'

Further Reading