diff options
author | Jonne Haß <me@jhass.eu> | 2015-10-13 13:06:53 +0300 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2015-10-13 13:06:53 +0300 |
commit | 6e845eb22af9a338f91e39134008159f363b518a (patch) | |
tree | 28ac58f2f5fec51c22305b0e51655a31f45551a5 /.rubocop.yml | |
parent | b68daaece32f5147dbc037abed0c3475fdb502aa (diff) |
Do not enforce lambda { } for multiline [ci skip]
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 66fe0faac..a2895b1d7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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 |