From 91bfb015647bba1249a96933a48d88f2a50039a9 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 22 Apr 2016 21:23:41 +0300 Subject: Updated for the most recent rubocop version. This is fixes for 0.39.0 --- .rubocop.yml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index b9c22bc..55eea3c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -101,11 +101,6 @@ Style/Alias: Style/AndOr: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -Style/Blocks: - Enabled: false - # Offense count: 1 Style/CaseEquality: Enabled: false @@ -318,10 +313,6 @@ Style/RedundantReturn: Style/RedundantSelf: Enabled: false -# Offense count: 4 -Style/RegexpLiteral: - MaxSlashes: 4 - # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. @@ -336,7 +327,7 @@ Style/SignalException: # Offense count: 4 # Cop supports --auto-correct. -Style/SingleSpaceBeforeFirstArg: +Style/SpaceBeforeFirstArg: Enabled: true # Offense count: 1 @@ -349,11 +340,6 @@ Style/SpaceAfterColon: Style/SpaceAfterComma: Enabled: true -# Offense count: 29 -# Cop supports --auto-correct. -Style/SpaceAfterControlKeyword: - Enabled: true - # Offense count: 1 # Cop supports --auto-correct. Style/SpaceAfterMethodName: @@ -436,10 +422,7 @@ Style/Tab: Style/TrailingBlankLines: Enabled: false -# Offense count: 7 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. -Style/TrailingComma: +Style/TrailingCommaInArguments: Enabled: false # Offense count: 12 -- cgit v1.2.1