Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
modosc committed Dec 11, 2023
1 parent 1bc2db8 commit b2145ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require:
AllCops:
NewCops: enable
TargetRubyVersion: 2.5
SuggestExtensions: false

Style/Documentation:
Enabled: false
Expand Down
15 changes: 11 additions & 4 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`
# on 2023-12-11 01:35:35 UTC using RuboCop version 1.58.0.
# on 2023-12-11 04:03:08 UTC using RuboCop version 1.58.0.
# 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 Down Expand Up @@ -42,7 +42,7 @@ Metrics/MethodLength:
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Exclude:
- 'spec/cloudflare/rails_spec.rb'
- 'lib/cloudflare_rails/fallback_ips.rb'

# Offense count: 3
RSpec/AnyInstance:
Expand Down Expand Up @@ -85,7 +85,14 @@ RSpec/MultipleExpectations:
RSpec/MultipleMemoizedHelpers:
Max: 14

# Offense count: 15
# Offense count: 3
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/cloudflare/rails_spec.rb'

# Offense count: 16
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 6
Expand Down Expand Up @@ -159,7 +166,7 @@ Style/MultilineBlockChain:
Exclude:
- 'lib/cloudflare_rails/railtie.rb'

# Offense count: 1
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Expand Down

0 comments on commit b2145ad

Please sign in to comment.