.rubocop_todo.yml in estella-5.0.1 vs .rubocop_todo.yml in estella-6.0.0

- old
+ new

@@ -1,78 +1,91 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2019-05-20 16:29:39 -0400 using RuboCop version 0.60.0. +# on 2022-06-29 20:17:28 UTC using RuboCop version 1.31.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 # versions of RuboCop, may require this file to be generated again. -# Offense count: 3 +# Offense count: 1 +# Configuration parameters: Include. +# Include: **/*.gemspec +Gemspec/RequiredRubyVersion: + Exclude: + - 'estella.gemspec' + +# Offense count: 4 +# Configuration parameters: AllowedMethods. +# AllowedMethods: enums +Lint/ConstantDefinitionInBlock: + Exclude: + - 'spec/searchable_spec.rb' + +# Offense count: 2 +# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: - Max: 18 + Max: 19 # Offense count: 3 -# Configuration parameters: CountComments, ExcludedMethods. -# ExcludedMethods: refine +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. +# IgnoredMethods: refine Metrics/BlockLength: - Max: 134 + Max: 137 # Offense count: 1 -# Configuration parameters: CountComments. +# Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 103 # Offense count: 1 -# Configuration parameters: CountComments, ExcludedMethods. +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 12 -# Offense count: 3 -# Cop supports --auto-correct. -# Configuration parameters: MaxKeyValuePairs. -Performance/RedundantMerge: - Exclude: - - 'lib/estella/parser.rb' - - 'lib/estella/searchable.rb' - # Offense count: 1 Style/ClassVars: Exclude: - 'lib/estella/helpers.rb' # Offense count: 7 +# Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/estella/analysis.rb' - 'lib/estella/helpers.rb' - 'lib/estella/parser.rb' - 'lib/estella/query.rb' - 'lib/estella/searchable.rb' +# Offense count: 4 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: always, always_true, never +Style/FrozenStringLiteralComment: + Exclude: + - 'Dangerfile' + - 'Gemfile' + - 'Rakefile' + - 'estella.gemspec' + # Offense count: 1 -# Configuration parameters: MinBodyLength. +# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. Style/GuardClause: Exclude: - 'lib/estella/searchable.rb' -# Offense count: 9 -# Cop supports --auto-correct. +# Offense count: 8 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/estella/analysis.rb' - - 'lib/estella/version.rb' -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: only_raise, only_fail, semantic -Style/SignalException: - Exclude: - - 'lib/estella/parser.rb' - -# Offense count: 30 -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. # URISchemes: http, https -Metrics/LineLength: - Max: 135 +Layout/LineLength: + Max: 126