Skip to content

Files

Latest commit

 

History

History
27 lines (19 loc) · 413 Bytes

Layout-MultilineMethodArgumentLineBreaks.md

File metadata and controls

27 lines (19 loc) · 413 Bytes

Pattern: Missing line break for multi-line method parameter

Issue: -

Description

Ensures that each argument in a multi-line method call starts on a separate line.

Examples

# bad
foo(a, b,
  c
)

# good
foo(
  a,
  b,
  c
)

Further Reading