From 90b4229134fb6439d30f73e9e4462d795af8a88f Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Wed, 20 Nov 2013 20:15:24 +0100 Subject: [PATCH] Silence rubocop for multiline chaining --- config/rubocop.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/rubocop.yml b/config/rubocop.yml index 64e4fb93..c3059b25 100644 --- a/config/rubocop.yml +++ b/config/rubocop.yml @@ -1,3 +1,9 @@ +# General note about rubocop. +# It does NOT allow to silence a specific rule violation. +# For that reason I sometimes have to disable a whole cop where +# I just tried to whitelist a specific occurence. + + AllCops: Includes: - '../**/*.rake' @@ -87,3 +93,7 @@ AndOr: # I like my raise SignalException: Enabled: false + +# I need to chain optparse builder, else it is more ugly +MultilineBlockChain: + Enabled: false