psu-libraries/psulib_blacklight

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-08-01 19:27:10 UTC using RuboCop version 1.32.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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
  Exclude:
    - 'app/controllers/concerns/search_context.rb'

# Offense count: 1
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
  Exclude:
    - 'spec/models/search_spec.rb'

# Offense count: 1
# Configuration parameters: AllowComments.
Lint/EmptyFile:
  Exclude:
    - 'spec/helpers/blacklight_helper_spec.rb'

# Offense count: 1
Lint/NoReturnInBeginEndBlocks:
  Exclude:
    - 'app/services/browse_list.rb'

# Offense count: 1
# Configuration parameters: MinSize.
Performance/CollectionLiteralInLoop:
  Exclude:
    - 'config/environments/production.rb'

# Offense count: 25
RSpec/Capybara:
  Exclude:
    - 'spec/components/psul_constraint_layout_component_spec.rb'
    - 'spec/features/ask_a_librarian_spec.rb'
    - 'spec/features/availability_spec.rb'
    - 'spec/features/google_preview_link_spec.rb'
    - 'spec/views/browse/authors.html.erb_spec.rb'
    - 'spec/views/browse/call_numbers.html.erb_spec.rb'
    - 'spec/views/browse/subjects.html.erb_spec.rb'
    - 'spec/views/browse/titles.html.erb_spec.rb'

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
RSpec/ExpectActual:
  Exclude:
    - 'spec/controllers/catalog_controller_spec.rb'
    - 'spec/routing/routing_spec.rb'

# Offense count: 2
RSpec/RepeatedExampleGroupDescription:
  Exclude:
    - 'spec/features/external_links_spec.rb'

# Offense count: 1
Rails/I18nLocaleTexts:
  Exclude:
    - 'app/models/record_mailer.rb'

# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
  Exclude:
    - 'app/helpers/facets_helper.rb'