From 12de7cf1aefcd5d567a9e6e2eaa061f2074c8dbb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 22 Apr 2016 21:42:32 +0300 Subject: More updates to silence rubocop style-guides. These warnings were largely whitespace-based. --- .rubocop.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 55eea3c..8fcb264 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -90,6 +90,12 @@ Metrics/PerceivedComplexity: Style/AccessorMethodName: Enabled: false +Style/ConditionalAssignment: + Enabled: false + +Style/ParenthesesAroundCondition: + Enabled: false + # Offense count: 1 # Cop supports --auto-correct. Style/Alias: @@ -281,12 +287,6 @@ Style/NegatedIf: Style/Next: Enabled: false -# Offense count: 185 -# Cop supports --auto-correct. -# Configuration parameters: AllowSafeAssignment. -Style/ParenthesesAroundCondition: - Enabled: true - # Offense count: 48 # Cop supports --auto-correct. Style/PerlBackrefs: @@ -302,6 +302,9 @@ Style/PredicateName: Style/RedundantBegin: Enabled: false +Style/RegexpLiteral: + Enabled: false + # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. @@ -313,6 +316,9 @@ Style/RedundantReturn: Style/RedundantSelf: Enabled: false +Style/RedundantParentheses: + Enabled: false + # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. -- cgit v1.2.1