Skip to content

Commit

Permalink
update rubocoptodo
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Mar 9, 2018
1 parent a925856 commit b5c3e06
Showing 1 changed file with 14 additions and 29 deletions.
43 changes: 14 additions & 29 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 2017-04-04 15:45:54 -0700 using RuboCop version 0.48.1.
# on 2018-03-09 08:16:14 -0700 using RuboCop version 0.49.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 @@ -20,19 +20,9 @@ Layout/EmptyLinesAroundExceptionHandlingKeywords:
Exclude:
- 'app/models/spotlight/featured_image.rb'

# Offense count: 22
# Offense count: 4
Lint/AmbiguousBlockAssociation:
Exclude:
- 'app/models/concerns/spotlight/user.rb'
- 'app/models/spotlight/contact.rb'
- 'app/models/spotlight/contact_email.rb'
- 'app/models/spotlight/custom_field.rb'
- 'app/models/spotlight/exhibit.rb'
- 'app/models/spotlight/main_navigation.rb'
- 'app/models/spotlight/page.rb'
- 'app/models/spotlight/reindexing_log_entry.rb'
- 'app/models/spotlight/search.rb'
- 'app/models/spotlight/site.rb'
- 'spec/controllers/spotlight/featured_images_controller_spec.rb'
- 'spec/controllers/spotlight/roles_controller_spec.rb'
- 'spec/features/report_a_problem_spec.rb'
Expand All @@ -42,7 +32,7 @@ Lint/AmbiguousBlockAssociation:
RSpec/AnyInstance:
Enabled: false

# Offense count: 176
# Offense count: 180
RSpec/EmptyLineAfterFinalLet:
Enabled: false

Expand All @@ -65,7 +55,7 @@ RSpec/EmptyLineAfterSubject:
- 'spec/models/spotlight/solr_document/uploaded_resource_spec.rb'
- 'spec/models/spotlight/user_spec.rb'

# Offense count: 232
# Offense count: 244
# Configuration parameters: Max.
RSpec/ExampleLength:
Enabled: false
Expand All @@ -86,7 +76,7 @@ RSpec/ImplicitExpect:
RSpec/LeadingSubject:
Enabled: false

# Offense count: 35
# Offense count: 36
RSpec/LetSetup:
Enabled: false

Expand All @@ -97,13 +87,13 @@ RSpec/MessageChain:
- 'spec/models/spotlight/blacklight_configuration_spec.rb'
- 'spec/views/spotlight/browse/_search.html.erb_spec.rb'

# Offense count: 184
# Offense count: 185
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Enabled: false

# Offense count: 783
# Offense count: 795
RSpec/NamedSubject:
Enabled: false

Expand All @@ -113,16 +103,10 @@ RSpec/NamedSubject:
RSpec/NotToNot:
Enabled: false

# Offense count: 4
# Offense count: 2
RSpec/RepeatedDescription:
Exclude:
- 'spec/models/spotlight/blacklight_configuration_spec.rb'
- 'spec/serializers/spotlight/exhibit_export_serializer_spec.rb'

# Offense count: 2
RSpec/RepeatedExample:
Exclude:
- 'spec/serializers/spotlight/exhibit_export_serializer_spec.rb'

# Offense count: 15
RSpec/ScatteredLet:
Expand Down Expand Up @@ -165,7 +149,7 @@ RSpec/SubjectStub:
- 'spec/models/spotlight/solr_document/atomic_updates_spec.rb'
- 'spec/services/spotlight/iiif_resource_resolver_spec.rb'

# Offense count: 59
# Offense count: 60
# Configuration parameters: IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Enabled: false
Expand Down Expand Up @@ -194,12 +178,13 @@ Rails/DynamicFindBy:
Exclude:
- 'app/models/spotlight/role.rb'

# Offense count: 8
# Offense count: 9
Rails/OutputSafety:
Exclude:
- 'app/controllers/spotlight/application_controller.rb'
- 'app/controllers/spotlight/exhibits_controller.rb'
- 'app/controllers/spotlight/filters_controller.rb'
- 'app/controllers/spotlight/languages_controller.rb'
- 'app/controllers/spotlight/searches_controller.rb'
- 'app/controllers/spotlight/sites_controller.rb'
- 'app/helpers/spotlight/rendering_helper.rb'
Expand Down Expand Up @@ -249,15 +234,15 @@ Style/MultilineIfModifier:
- 'app/helpers/spotlight/search_configurations_helper.rb'
- 'app/models/spotlight/blacklight_configuration.rb'

# Offense count: 56
# Offense count: 57
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false

# Offense count: 58
# Offense count: 61
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# Configuration parameters: MinSize, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets

0 comments on commit b5c3e06

Please sign in to comment.