From 6e845eb22af9a338f91e39134008159f363b518a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Tue, 13 Oct 2015 12:06:53 +0200 Subject: [PATCH] Do not enforce lambda { } for multiline [ci skip] --- .rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- GitLab