Skip to content

Commit

Permalink
update rubocop file
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Oct 30, 2023
1 parent 24fad0d commit af68f13
Showing 1 changed file with 43 additions and 23 deletions.
66 changes: 43 additions & 23 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit af68f13

Please sign in to comment.