Skip to content

Files

Latest commit

 

History

History
24 lines (15 loc) · 420 Bytes

MaxChainedCallsOnSameLine.md

File metadata and controls

24 lines (15 loc) · 420 Bytes

Pattern: Too many chained calls on same line

Issue: -

Description

Limits the number of chained calls which can be placed on a single line.

Example of incorrect code:

a().b().c().d().e().f()

Example of correct code:

a().b().c()
  .d().e().f()

Further Reading