update rubocop todo

This commit is contained in:
Petr Korolev 2015-05-14 16:57:05 +03:00
parent 819bcf5948
commit 149fba47ed

View File

@ -1,11 +1,11 @@
# This configuration was generated by `rubocop --auto-gen-config` # This configuration was generated by `rubocop --auto-gen-config`
# on 2015-04-04 02:29:34 +0300 using RuboCop version 0.29.1. # on 2015-05-14 16:51:06 +0300 using RuboCop version 0.31.0.
# The point is for the user to remove these configuration records # The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base. # one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again. # versions of RuboCop, may require this file to be generated again.
# Offense count: 21 # Offense count: 15
Metrics/AbcSize: Metrics/AbcSize:
Enabled: false Enabled: false
@ -13,16 +13,16 @@ Metrics/AbcSize:
Metrics/BlockNesting: Metrics/BlockNesting:
Max: 4 Max: 4
# Offense count: 2 # Offense count: 3
# Configuration parameters: CountComments. # Configuration parameters: CountComments.
Metrics/ClassLength: Metrics/ClassLength:
Max: 457 Max: 337
# Offense count: 6 # Offense count: 5
Metrics/CyclomaticComplexity: Metrics/CyclomaticComplexity:
Max: 15 Max: 15
# Offense count: 28 # Offense count: 22
# Configuration parameters: CountComments. # Configuration parameters: CountComments.
Metrics/MethodLength: Metrics/MethodLength:
Enabled: false Enabled: false
@ -31,7 +31,7 @@ Metrics/MethodLength:
Metrics/PerceivedComplexity: Metrics/PerceivedComplexity:
Max: 18 Max: 18
# Offense count: 3 # Offense count: 4
Style/AccessorMethodName: Style/AccessorMethodName:
Enabled: false Enabled: false
@ -41,31 +41,23 @@ Style/AccessorMethodName:
Style/AndOr: Style/AndOr:
Enabled: false Enabled: false
# Offense count: 27 # Offense count: 19
# Cop supports --auto-correct. # Cop supports --auto-correct.
Style/Blocks: # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
Enabled: false Style/BlockDelimiters:
# Offense count: 7
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
Style/CaseIndentation:
Enabled: false Enabled: false
# Offense count: 4 # Offense count: 4
Style/Documentation: Style/Documentation:
Enabled: false Enabled: false
# Offense count: 1 # Offense count: 5
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Enabled: false
# Offense count: 6
# Configuration parameters: MinBodyLength. # Configuration parameters: MinBodyLength.
Style/GuardClause: Style/GuardClause:
Enabled: false Enabled: false
# Offense count: 17 # Offense count: 15
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength. # Configuration parameters: MaxLineLength.
Style/IfUnlessModifier: Style/IfUnlessModifier:
Enabled: false Enabled: false
@ -75,7 +67,8 @@ Style/IfUnlessModifier:
Style/Next: Style/Next:
Enabled: false Enabled: false
# Offense count: 5 # Offense count: 3
# Configuration parameters: MaxSlashes. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
Style/RegexpLiteral: Style/RegexpLiteral:
Enabled: false Enabled: false