Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate rubocop todo file #147

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 27 additions & 25 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 2022-02-17 18:38:52 UTC using RuboCop version 1.25.1.
# on 2023-03-27 19:15:05 UTC using RuboCop version 1.48.1.
# 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 @@ -17,50 +17,45 @@ Lint/UselessAssignment:
- 'spec/helpers.rb'

# Offense count: 7
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 33

# Offense count: 25
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 181
Max: 27

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 152

# Offense count: 3
# Configuration parameters: IgnoredMethods.
# Offense count: 4
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 11

# Offense count: 10
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 21

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 1657

# Offense count: 1
# Configuration parameters: IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 11

# Offense count: 9
# Configuration parameters: Prefixes.
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/lib/geo_combine/geoblacklight_spec.rb'
- 'spec/lib/geo_combine/ogp_spec.rb'

# Offense count: 9
# Offense count: 11
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 12
Expand All @@ -78,18 +73,18 @@ RSpec/FilePath:
Exclude:
- 'spec/lib/geo_combine_spec.rb'

# Configuration parameters: .
# Offense count: 23
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: have_received
Exclude:
- 'spec/lib/geo_combine/esri_open_data_spec.rb'
- 'spec/lib/geo_combine/geo_blacklight_harvester_spec.rb'
- 'spec/lib/geo_combine/geoblacklight_spec.rb'
- 'spec/lib/geo_combine/ogp_spec.rb'
- 'spec/lib/geo_combine_spec.rb'

# Offense count: 39
# Offense count: 48
RSpec/MultipleExpectations:
Max: 5

Expand All @@ -99,12 +94,14 @@ RSpec/MultipleMemoizedHelpers:
Max: 7

# Offense count: 5
# Configuration parameters: IgnoreSharedExamples.
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/lib/geo_combine/formatting_spec.rb'

# Offense count: 8
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 4

Expand All @@ -113,6 +110,11 @@ RSpec/OverwritingSetup:
Exclude:
- 'spec/lib/geo_combine/geoblacklight_spec.rb'

# Offense count: 1
RSpec/PendingWithoutReason:
Exclude:
- 'spec/lib/geo_combine/migrators/v1_aardvark_migrator_spec.rb'

# Offense count: 2
RSpec/RepeatedExampleGroupBody:
Exclude:
Expand Down Expand Up @@ -157,9 +159,9 @@ Style/Documentation:
- 'lib/geo_combine/geometry_types.rb'
- 'lib/geo_combine/iso19139.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 159