.rubocop_todo.yml in inch-0.5.0.rc11 vs .rubocop_todo.yml in inch-0.5.0

- old
+ new

@@ -1,44 +1,52 @@ # This configuration was generated by `rubocop --auto-gen-config` -# on 2014-08-31 11:34:00 +0200 using RuboCop version 0.25.0. +# on 2014-10-06 22:11:42 +0200 using RuboCop version 0.25.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: 34 +# Offense count: 51 Lint/AmbiguousOperator: Enabled: false # Offense count: 1 Lint/Debugger: Enabled: false -# Offense count: 16 +# Offense count: 29 Lint/SpaceBeforeFirstArg: Enabled: false -# Offense count: 9 +# Offense count: 1 +Lint/UnderscorePrefixedVariableName: + Enabled: false + +# Offense count: 12 # Cop supports --auto-correct. Lint/UnusedMethodArgument: + Enabled: true + +# Offense count: 1 +Lint/UselessAccessModifier: Enabled: false -# Offense count: 7 +# Offense count: 8 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 197 + Max: 196 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 7 -# Offense count: 1 +# Offense count: 9 # Configuration parameters: AllowURI. Metrics/LineLength: - Max: 81 + Max: 368 -# Offense count: 27 +# Offense count: 28 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 34 # Offense count: 2 @@ -52,22 +60,38 @@ # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/ClassAndModuleChildren: Enabled: false -# Offense count: 87 +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: PreferredMethods. +Style/CollectionMethods: + Enabled: false + +# Offense count: 90 Style/Documentation: Enabled: false # Offense count: 2 Style/DoubleNegation: Enabled: false -# Offense count: 11 +# Offense count: 2 +# Cop supports --auto-correct. +Style/EmptyLines: + Enabled: false + +# Offense count: 3 +# Cop supports --auto-correct. +Style/EmptyLinesAroundBody: + Enabled: false + +# Offense count: 12 # Configuration parameters: MinBodyLength. Style/GuardClause: - Enabled: false + Enabled: true # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/HashSyntax: @@ -76,25 +100,73 @@ # Offense count: 1 # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Enabled: false -# Offense count: 43 +# Offense count: 1 +# Cop supports --auto-correct. +Style/LeadingCommentSpace: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +Style/PerlBackrefs: + Enabled: false + +# Offense count: 54 # Configuration parameters: NamePrefixBlacklist. Style/PredicateName: Enabled: false +# Offense count: 1 +Style/RegexpLiteral: + MaxSlashes: 4 + # Offense count: 2 # Configuration parameters: Methods. Style/SingleLineBlockParams: Enabled: false -# Offense count: 82 +# Offense count: 104 # Cop supports --auto-correct. Style/SingleSpaceBeforeFirstArg: Enabled: false +# Offense count: 15 +# Cop supports --auto-correct. +Style/SpaceInsideBrackets: + Enabled: false + +# Offense count: 3 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. +Style/SpaceInsideHashLiteralBraces: + Enabled: false + +# Offense count: 31 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/StringLiterals: + Enabled: true + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/TrailingBlankLines: + Enabled: false + +# Offense count: 2 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. +Style/TrailingComma: + Enabled: false + # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist. Style/TrivialAccessors: Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +Style/WordArray: + MinSize: 2