diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index af1a54734..88cad19a6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,11 +1,17 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2019-07-27 22:39:00 +0800 using RuboCop version 0.73.0. +# on 2024-12-13 20:34:48 UTC using RuboCop version 1.69.2. # 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: 1 +# This cop supports safe autocorrection (--autocorrect). +InternalAffairs/CopEnabled: + Exclude: + - 'lib/rubocop/cop/performance/inefficient_hash_search.rb' + # Offense count: 12 InternalAffairs/NodeDestructuring: Exclude: @@ -15,25 +21,25 @@ InternalAffairs/NodeDestructuring: - 'lib/rubocop/cop/performance/regexp_match.rb' - 'lib/rubocop/cop/performance/string_replacement.rb' +# Offense count: 3 InternalAffairs/NumblockHandler: - Enabled: false - -# Offense count: 8 -Metrics/AbcSize: - Max: 17 + Exclude: + - 'lib/rubocop/cop/performance/compare_with_block.rb' + - 'lib/rubocop/cop/performance/redundant_equality_comparison_block.rb' + - 'lib/rubocop/cop/performance/sum.rb' -# Offense count: 2 -# Configuration parameters: CountComments. +# Offense count: 4 +# Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: - Max: 164 + Max: 159 -# Offense count: 14 -# Configuration parameters: CountComments, ExcludedMethods. +# Offense count: 13 +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 14 -# Offense count: 40 -# Configuration parameters: Prefixes. +# Offense count: 38 +# Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: @@ -47,12 +53,11 @@ RSpec/ContextWording: - 'spec/rubocop/cop/performance/string_replacement_spec.rb' - 'spec/rubocop/cop/performance/times_map_spec.rb' -# Offense count: 89 -# Configuration parameters: Max. +# Offense count: 388 +# Configuration parameters: CountAsOne. RSpec/ExampleLength: - Enabled: false + Max: 24 -# Offense count: 26 -# Configuration parameters: AggregateFailuresByDefault. +# Offense count: 312 RSpec/MultipleExpectations: - Max: 7 + Max: 3