diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9224e63..4b4076d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by -# `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-03-31 21:57:32 UTC using RuboCop version 1.48.1. +# `rubocop --auto-gen-config --exclude-limit 200` +# on 2023-10-30 03:26:53 UTC using RuboCop version 1.57.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 @@ -13,6 +13,12 @@ Lint/AssignmentInCondition: Exclude: - 'lib/webhook_system/subscription.rb' +# Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). +Lint/RedundantDirGlobSort: + Exclude: + - 'spec/spec_helper.rb' + # Offense count: 1 Lint/UnreachableCode: Exclude: @@ -23,14 +29,6 @@ Lint/UnreachableCode: Metrics/MethodLength: Max: 18 -# Offense count: 4 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, BlockForwardingName. -# SupportedStyles: anonymous, explicit -Naming/BlockForwarding: - Exclude: - - 'lib/webhook_system/base_event.rb' - # Offense count: 1 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to @@ -68,6 +66,16 @@ RSpec/FilePath: - 'spec/event_spec.rb' - 'spec/models_spec.rb' +# Offense count: 11 +# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns. +RSpec/IndexedLet: + Exclude: + - 'spec/dispatching_events_spec.rb' + - 'spec/encoder_spec.rb' + - 'spec/event_spec.rb' + - 'spec/integration_spec.rb' + - 'spec/models_spec.rb' + # Offense count: 3 RSpec/LetSetup: Exclude: @@ -80,6 +88,20 @@ RSpec/MatchArray: Exclude: - 'spec/models_spec.rb' +# Offense count: 10 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: hash, symbol +RSpec/MetadataStyle: + Exclude: + - 'spec/dispatching_events_spec.rb' + - 'spec/encoder_spec.rb' + - 'spec/event_log_spec.rb' + - 'spec/event_spec.rb' + - 'spec/integration_spec.rb' + - 'spec/models_spec.rb' + - 'spec/spec_helper.rb' + # Offense count: 15 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: @@ -98,10 +120,21 @@ RSpec/NestedGroups: Max: 4 # Offense count: 3 +# This cop supports safe autocorrection (--autocorrect). RSpec/ScatteredSetup: Exclude: - 'spec/models_spec.rb' +# Offense count: 4 +# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. +# Include: **/*_spec.rb +RSpec/SpecFilePathFormat: + Exclude: + - 'spec/encoder_spec.rb' + - 'spec/event_log_spec.rb' + - 'spec/event_spec.rb' + - 'spec/models_spec.rb' + # Offense count: 2 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: @@ -122,19 +155,6 @@ Style/Documentation: - 'lib/webhook_system/encoder.rb' - 'lib/webhook_system/subscription_topic.rb' -# Offense count: 19 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. -# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys -# SupportedShorthandSyntax: always, never, either, consistent -Style/HashSyntax: - Exclude: - - 'lib/webhook_system/encoder.rb' - - 'spec/dispatching_events_spec.rb' - - 'spec/encoder_spec.rb' - - 'spec/event_log_spec.rb' - - 'spec/event_spec.rb' - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantConstantBase: