Fix indentation in conditionals
This commit is contained in:
parent
b27f0cd925
commit
6e2fd6130e
|
@ -48,6 +48,12 @@ Style/DoubleNegation:
|
|||
Style/LineEndConcatenation:
|
||||
Enabled: false
|
||||
|
||||
Style/MultilineMethodCallIndentation:
|
||||
EnforcedStyle: indented
|
||||
|
||||
Style/MultilineOperationIndentation:
|
||||
EnforcedStyle: indented
|
||||
|
||||
Style/PredicateName:
|
||||
NameWhitelist: has_paper_trail
|
||||
|
||||
|
|
|
@ -140,20 +140,6 @@ Style/MultilineBlockLayout:
|
|||
Exclude:
|
||||
- 'test/unit/model_test.rb'
|
||||
|
||||
# Offense count: 23
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||||
# SupportedStyles: aligned, indented
|
||||
Style/MultilineMethodCallIndentation:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||||
# SupportedStyles: aligned, indented
|
||||
Style/MultilineOperationIndentation:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 4
|
||||
Style/MultilineTernaryOperator:
|
||||
Exclude:
|
||||
|
|
Loading…
Reference in New Issue