# This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` # on 2023-10-30 03:57:18 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 # versions of RuboCop, may require this file to be generated again. # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'gemfiles/rails_7.1.gemfile' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowSafeAssignment. 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: - 'lib/webhook_system/job.rb' # Offense count: 3 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 18 # 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 Naming/MethodParameterName: Exclude: - 'lib/webhook_system/encoder.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'spec/support/rails_seven_one.rb' # Offense count: 9 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/encoder_spec.rb' - 'spec/event_log_spec.rb' - 'spec/event_spec.rb' # Offense count: 1 # Configuration parameters: IgnoredMetadata. RSpec/DescribeClass: Exclude: - 'spec/dispatching_events_spec.rb' # Offense count: 7 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 24 # Offense count: 4 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/FilePath: Exclude: - 'spec/encoder_spec.rb' - 'spec/event_log_spec.rb' - '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: - 'spec/dispatching_events_spec.rb' - 'spec/integration_spec.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). 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: Max: 8 # Offense count: 9 # Configuration parameters: EnforcedStyle, IgnoreSharedExamples. # SupportedStyles: always, named_only RSpec/NamedSubject: Exclude: - 'spec/event_log_spec.rb' # Offense count: 3 # Configuration parameters: AllowedGroups. 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: Exclude: - 'spec/event_log_spec.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Rails/RedundantPresenceValidationOnBelongsTo: Exclude: - 'lib/webhook_system/event_log.rb' # Offense count: 3 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'lib/webhook_system.rb' - 'lib/webhook_system/encoder.rb' - 'lib/webhook_system/subscription_topic.rb' - 'spec/support/rails_seven_one.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/MultilineIfModifier: Exclude: - 'spec/support/rails_seven_one.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, AllowedCompactTypes. # SupportedStyles: compact, exploded Style/RaiseArgs: Exclude: - 'spec/support/rails_seven_one.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantConstantBase: Exclude: - 'spec/event_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantFreeze: Exclude: - 'lib/webhook_system/subscription.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'spec/dispatching_events_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'spec/support/rails_seven_one.rb'