Do not enforce lambda { } for multiline [ci skip]
This commit is contained in:
parent
b68daaece3
commit
6e845eb22a
1 changed files with 5 additions and 0 deletions
|
|
@ -105,6 +105,11 @@ Style/SpaceInsideHashLiteralBraces:
|
|||
Style/BlockDelimiters:
|
||||
Enabled: false
|
||||
|
||||
# Enforcing -> would be nice, but not at the cost of enforcing lambda { } for
|
||||
# multiline lambdas.
|
||||
Style/Lambda:
|
||||
Enabled: false
|
||||
|
||||
# do / end blocks should be used for side effects,
|
||||
# methods that run a block for side effects and have
|
||||
# a useful return value are rare, assign the return
|
||||
|
|
|
|||
Loading…
Reference in a new issue