Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2015-10-13 13:06:53 +0300
committerJonne Haß <me@jhass.eu>2015-10-13 13:06:53 +0300
commit6e845eb22af9a338f91e39134008159f363b518a (patch)
tree28ac58f2f5fec51c22305b0e51655a31f45551a5 /.rubocop.yml
parentb68daaece32f5147dbc037abed0c3475fdb502aa (diff)
Do not enforce lambda { } for multiline [ci skip]
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
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