Skip to content

Commit

Permalink
Do not enforce lambda { } for multiline [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jhass committed Oct 13, 2015
1 parent b68daae commit 6e845eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Expand Up @@ -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
Expand Down

0 comments on commit 6e845eb

Please sign in to comment.