Cleanup minor rubocop offenses

Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.

Change-Id: I94577ea628c4f6ee81f3f9dadb24309ca7c856a3
This commit is contained in:
Mark Vanderwiel
2015-05-29 10:20:01 -05:00
parent cb833f1573
commit 133a49e150
7 changed files with 100 additions and 123 deletions

25
.rubocop_todo.yml Normal file → Executable file
View File

@@ -1,5 +1,5 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-27 14:31:02 -0600 using RuboCop version 0.29.1.
# on 2015-05-29 10:19:10 -0500 using RuboCop version 0.29.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -9,26 +9,3 @@
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/FirstParameterIndentation:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/IndentHash:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false
# Offense count: 27
# Cop supports --auto-correct.
Style/SingleSpaceBeforeFirstArg:
Enabled: false