From 77bd30574b309d0cba46ceb5fef0b37c7db5d704 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 20 Sep 2016 20:55:00 +0200 Subject: [PATCH] Disable Style/GuardClause only in Taps. --- Library/.rubocop_rules.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml index 88e0e25e69..d4dd15334f 100644 --- a/Library/.rubocop_rules.yml +++ b/Library/.rubocop_rules.yml @@ -93,7 +93,8 @@ Style/AlignParameters: # counterproductive in formulas, notably within the install method Style/GuardClause: - Enabled: false + Exclude: + - 'Taps/**/*' Style/IfUnlessModifier: Enabled: false