summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 21:42:32 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 21:42:32 +0300
commit12de7cf1aefcd5d567a9e6e2eaa061f2074c8dbb (patch)
tree5912d325d739d66a05690cb0d4b87a92ffde3fca /.rubocop.yml
parent91bfb015647bba1249a96933a48d88f2a50039a9 (diff)
More updates to silence rubocop style-guides.
These warnings were largely whitespace-based.
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml18
1 files changed, 12 insertions, 6 deletions
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.