Skip to content

Files

Latest commit

 

History

History
29 lines (20 loc) · 485 Bytes

Lint-ImplicitStringConcatenation.md

File metadata and controls

29 lines (20 loc) · 485 Bytes

Pattern: Implicit string concatenation

Issue: -

Description

This rule checks for implicit string concatenation of string literals which are on the same line.

Examples

# bad

array = ['Item 1' 'Item 2']
# good

array = ['Item 1Item 2']
array = ['Item 1' + 'Item 2']
array = [
  'Item 1' \
  'Item 2'
]

Further Reading