Skip to content

Files

Latest commit

 

History

History
33 lines (23 loc) · 665 Bytes

Layout-FirstParameterIndentation.md

File metadata and controls

33 lines (23 loc) · 665 Bytes

Pattern: Malformed indentation of first parameter

Issue: -

Description

This rule checks the indentation of the first parameter in a method call.

Examples

# bad
some_method(
first_param,
second_param)

# good
some_method(
  first_param,
second_param)

Default configuration

Attribute Value
EnforcedStyle special_for_inner_method_call_in_parentheses
SupportedStyles consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
IndentationWidth

Further Reading