.rubocop_todo.yml in grape-0.11.0 vs .rubocop_todo.yml in grape-0.12.0

- old
+ new

@@ -1,65 +1,55 @@ # This configuration was generated by `rubocop --auto-gen-config` -# on 2014-12-16 11:52:50 -0500 using RuboCop version 0.28.0. +# on 2015-06-04 09:15:17 -0400 using RuboCop version 0.31.0. # 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 # versions of RuboCop, may require this file to be generated again. -# Offense count: 29 -# Cop supports --auto-correct. -Lint/UnusedBlockArgument: - Enabled: false - -# Offense count: 26 -# Cop supports --auto-correct. -Lint/UnusedMethodArgument: - Enabled: false - -# Offense count: 35 +# Offense count: 37 Metrics/AbcSize: - Max: 50 + Max: 48 -# Offense count: 1 +# Offense count: 2 Metrics/BlockNesting: Max: 4 # Offense count: 4 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 243 + Max: 246 -# Offense count: 15 +# Offense count: 23 Metrics/CyclomaticComplexity: - Max: 19 + Max: 20 -# Offense count: 545 +# Offense count: 675 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 198 -# Offense count: 42 +# Offense count: 44 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 35 -# Offense count: 13 +# Offense count: 8 +# Configuration parameters: CountComments. +Metrics/ModuleLength: + Max: 243 + +# Offense count: 17 Metrics/PerceivedComplexity: - Max: 21 + Max: 22 # Offense count: 26 # Cop supports --auto-correct. -Style/Blocks: +# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. +Style/BlockDelimiters: Enabled: false -# Offense count: 6 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/ClassCheck: - Enabled: false - -# Offense count: 157 +# Offense count: 174 Style/Documentation: Enabled: false # Offense count: 7 Style/DoubleNegation: @@ -67,75 +57,28 @@ # Offense count: 5 Style/EachWithObject: Enabled: false -# Offense count: 1 -Style/EmptyElse: - Enabled: false - -# Offense count: 14 +# Offense count: 15 # Configuration parameters: MinBodyLength. Style/GuardClause: Enabled: false -# Offense count: 3 +# Offense count: 4 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/HashSyntax: - Enabled: false - -# Offense count: 15 -# Cop supports --auto-correct. -Style/IndentArray: - Enabled: false - -# Offense count: 18 Style/Lambda: Enabled: false -# Offense count: 1 -# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. -Style/Next: - Enabled: false - # Offense count: 3 -# Cop supports --auto-correct. -# Configuration parameters: PreferredDelimiters. -Style/PercentLiteralDelimiters: +Style/MultilineTernaryOperator: Enabled: false # Offense count: 3 # Configuration parameters: NamePrefix, NamePrefixBlacklist. Style/PredicateName: Enabled: false -# Offense count: 9 +# Offense count: 13 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/RaiseArgs: - Enabled: false - -# Offense count: 4 -# Configuration parameters: MaxSlashes. -Style/RegexpLiteral: - Enabled: false - -# Offense count: 4 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/SpaceBeforeBlockBraces: - Enabled: false - -# Offense count: 12 -# Cop supports --auto-correct. -Style/SpaceBeforeSemicolon: - Enabled: false - -# Offense count: 1 -# Cop supports --auto-correct. -Style/SpecialGlobalVars: - Enabled: false - -# Offense count: 2 -# Cop supports --auto-correct. -Style/UnneededPercentQ: Enabled: false