ophrescue/RescueRails

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-06-26 14:47:03 UTC using RuboCop version 1.17.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: 12
# Cop supports --auto-correct.
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/OrderedGems:
  Exclude:
    - 'Gemfile'

# Offense count: 54
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_argument, with_fixed_indentation
Layout/ArgumentAlignment:
  Exclude:
    - 'app/controllers/sample_images_controller.rb'
    - 'app/controllers/users_controller.rb'
    - 'app/mailers/adopt_app_mailer.rb'
    - 'app/mailers/adopter_followup_mailer.rb'
    - 'app/mailers/invoice_mailer.rb'
    - 'app/models/attachment.rb'
    - 'app/models/badge.rb'
    - 'app/models/invoice.rb'
    - 'app/models/photo.rb'
    - 'app/models/user.rb'
    - 'app/models/user_searcher.rb'
    - 'spec/drivers/browserstack.rb'

# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_element, with_fixed_indentation
Layout/ArrayAlignment:
  Exclude:
    - 'app/models/adoption.rb'
    - 'app/models/attachment.rb'
    - 'app/models/cat.rb'
    - 'app/models/cat_adoption.rb'
    - 'app/models/concerns/flaggable.rb'
    - 'app/models/dog.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith.
# SupportedStylesAlignWith: either, start_of_block, start_of_line
Layout/BlockAlignment:
  Exclude:
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/controllers/adoptions_controller_spec.rb'
    - 'spec/factories/badge.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/cat_adoption.rb'
    - 'spec/factories/cat_breed.rb'
    - 'spec/factories/user_badge.rb'
    - 'spec/features/dog/dog_filter_spec.rb'

# Offense count: 7
# Cop supports --auto-correct.
Layout/BlockEndNewline:
  Exclude:
    - 'spec/features/cat/cat_filter_spec.rb'
    - 'spec/features/cat/cat_manager_show_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/dog_filter_spec.rb'
    - 'spec/features/dog/dog_manager_show_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/ClosingParenthesisIndentation:
  Exclude:
    - 'app/models/user_searcher.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Layout/DotPosition:
  Exclude:
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'
    - 'spec/features/event_management_spec.rb'
    - 'spec/features/staff_resources_spec.rb'

# Offense count: 23
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
  Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Layout/EmptyLineBetweenDefs:
  Exclude:
    - 'app/helpers/dogs_helper.rb'

# Offense count: 16
# Cop supports --auto-correct.
Layout/EmptyLines:
  Exclude:
    - 'app/helpers/dogs_helper.rb'
    - 'app/mailers/invoice_mailer.rb'
    - 'app/models/adoption.rb'
    - 'app/models/photo.rb'
    - 'spec/controllers/cats_gallery_controller_spec.rb'
    - 'spec/controllers/dogs_gallery_controller_spec.rb'
    - 'spec/features/edit_adopter_spec.rb'
    - 'spec/models/adoptapet_spec.rb'
    - 'spec/models/adopter_searcher_spec.rb'
    - 'spec/models/cat_spec.rb'
    - 'spec/models/invoice_spec.rb'
    - 'spec/requests/invoice_request_spec.rb'
    - 'spec/support/tasks.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: around, only_before
Layout/EmptyLinesAroundAccessModifier:
  Exclude:
    - 'app/helpers/dogs_helper.rb'
    - 'app/helpers/events_helper.rb'
    - 'app/helpers/validation_helper.rb'
    - 'app/models/adoptapet.rb'
    - 'app/models/adopter.rb'
    - 'app/models/concerns/filterable.rb'
    - 'app/models/event.rb'
    - 'lib/rescue_rails/browser_stack.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
  Exclude:
    - 'app/models/cat_filter.rb'
    - 'app/models/dog_filter.rb'
    - 'app/models/event_photo.rb'
    - 'app/models/google_map.rb'

# Offense count: 44
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
  Enabled: false

# Offense count: 15
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
Layout/EmptyLinesAroundClassBody:
  Exclude:
    - 'app/controllers/comments_controller.rb'
    - 'app/controllers/dogs/dogs_base_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/controllers/invoices_controller.rb'
    - 'app/mailers/invoice_mailer.rb'
    - 'app/models/badge.rb'
    - 'app/models/carousel.rb'
    - 'app/models/contract.rb'
    - 'app/models/invoice.rb'
    - 'app/models/volunteer_app.rb'
    - 'app/models/volunteer_app_searcher.rb'
    - 'app/models/volunteer_foster_app.rb'
    - 'app/models/volunteer_reference.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/EmptyLinesAroundMethodBody:
  Exclude:
    - 'app/controllers/adopters_controller.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
Layout/EmptyLinesAroundModuleBody:
  Exclude:
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/validation_helper.rb'
    - 'app/models/concerns/client_validated.rb'
    - 'lib/rescue_rails/browser_stack.rb'
    - 'spec/factories/adopter.rb'
    - 'spec/helpers/cats_list_helper.rb'
    - 'spec/helpers/dogs_list_helper.rb'
    - 'spec/support/wait_for_ajax.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
  Exclude:
    - 'app/controllers/cats/gallery_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/helpers/adopters_helper.rb'
    - 'app/models/concerns/filterable.rb'
    - 'spec/helpers/rspec_matchers.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing:
  Exclude:
    - 'app/controllers/invoices_controller.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'lib/tasks/adoptapet_sync.rake'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/models/dog_filter_spec.rb'

# Offense count: 78
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/HashAlignment:
  Exclude:
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/mailers/adopt_app_mailer.rb'
    - 'app/mailers/adopter_followup_mailer.rb'
    - 'app/mailers/invoice_mailer.rb'
    - 'app/models/attachment.rb'
    - 'app/models/badge.rb'
    - 'app/models/dog.rb'
    - 'app/models/invoice.rb'
    - 'app/models/photo.rb'
    - 'app/models/user.rb'
    - 'lib/rescue_rails/browser_stack.rb'
    - 'spec/support/geocoder_stubs.rb'

# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: normal, indented_internal_methods
Layout/IndentationConsistency:
  Exclude:
    - 'app/models/user.rb'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/controllers/adoptions_controller_spec.rb'
    - 'spec/requests/treatment_records_request_spec.rb'

# Offense count: 35
# Cop supports --auto-correct.
# Configuration parameters: Width, IgnoredPatterns.
Layout/IndentationWidth:
  Exclude:
    - 'app/models/adopter_searcher.rb'
    - 'app/models/user.rb'
    - 'lib/rescue_rails/browser_stack.rb'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/factories/volunteer_app.rb'
    - 'spec/features/edit_housing_spec.rb'
    - 'spec/features/edit_pet_choices_spec.rb'
    - 'spec/features/edit_pet_info_spec.rb'
    - 'spec/mailers/volunteer_app_mailer_spec.rb'
    - 'spec/models/invoice_spec.rb'
    - 'spec/models/post_bulletin_spec.rb'
    - 'spec/requests/treatment_records_request_spec.rb'

# Offense count: 78
# Cop supports --auto-correct.
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
  Exclude:
    - 'app/controllers/folders_controller.rb'
    - 'spec/factories/attachment.rb'
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/cat_filter_spec.rb'
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/dog_filter_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/LeadingEmptyLines:
  Exclude:
    - 'spec/models/post_bulletin_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineArrayBraceLayout:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'
    - 'lib/tasks/petfinder_sync.rake'

# Offense count: 7
# Cop supports --auto-correct.
Layout/MultilineBlockLayout:
  Exclude:
    - 'spec/features/cat/cat_filter_spec.rb'
    - 'spec/features/cat/cat_manager_show_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/dog_filter_spec.rb'
    - 'spec/features/dog/dog_manager_show_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineHashBraceLayout:
  Exclude:
    - 'app/models/user.rb'
    - 'lib/tasks/adoptapet_sync.rake'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineMethodCallBraceLayout:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/models/user_searcher.rb'
    - 'lib/tasks/adoptapet_sync.rake'
    - 'spec/drivers/browserstack.rb'

# Offense count: 14
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented, indented_relative_to_receiver
Layout/MultilineMethodCallIndentation:
  Exclude:
    - 'app/controllers/folder_attachments_controller.rb'
    - 'app/models/cat_filter.rb'
    - 'app/models/dog_filter.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
  Exclude:
    - 'app/models/adoption_app.rb'

# Offense count: 20
# Cop supports --auto-correct.
Layout/SpaceAfterColon:
  Exclude:
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/models/concerns/sortable.rb'
    - 'spec/features/cat/cat_manager_show_spec.rb'
    - 'spec/features/dog/dog_manager_show_spec.rb'
    - 'spec/features/edit_adopter_spec.rb'

# Offense count: 370
# Cop supports --auto-correct.
Layout/SpaceAfterComma:
  Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
  Exclude:
    - 'lib/local_extensions/form_builder.rb'

# Offense count: 4
# Cop supports --auto-correct.
Layout/SpaceAroundKeyword:
  Exclude:
    - 'spec/factories/breed.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/cat_breed.rb'
    - 'spec/factories/dog.rb'

# Offense count: 43
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
  Enabled: false

# Offense count: 334
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceBeforeBlockBraces:
  Enabled: false

# Offense count: 4
# Cop supports --auto-correct.
Layout/SpaceBeforeComma:
  Exclude:
    - 'app/models/cat.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/models/user_searcher_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: require_no_space, require_space
Layout/SpaceInLambdaLiteral:
  Exclude:
    - 'app/models/user.rb'
    - 'app/models/volunteer_app.rb'

# Offense count: 36
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideArrayLiteralBrackets:
  Exclude:
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'spec/controllers/events_controller_spec.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/features/cat/cat_filter_spec.rb'
    - 'spec/features/dog/dog_filter_spec.rb'
    - 'spec/helpers/animal_show_helper.rb'
    - 'spec/models/folder_attachment_spec.rb'

# Offense count: 193
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideBlockBraces:
  Enabled: false

# Offense count: 114
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
  Enabled: false

# Offense count: 99
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceInsideParens:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Layout/SpaceInsidePercentLiteralDelimiters:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceInsideStringInterpolation:
  Exclude:
    - 'spec/features/event_management_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
  Exclude:
    - 'spec/support/database_cleaner.rb'

# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
  Exclude:
    - 'app/models/adoptapet.rb'
    - 'spec/factories/create_volunteer_foster_apps.rb'
    - 'spec/features/edit_adopter_spec.rb'
    - 'spec/features/edit_housing_spec.rb'
    - 'spec/features/edit_pet_choices_spec.rb'
    - 'spec/features/edit_pet_info_spec.rb'

# Offense count: 49
# Configuration parameters: IgnoredMethods.
Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'spec/controllers/adopters_controller_spec.rb'
    - 'spec/controllers/banned_adopters_controller_spec.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/controllers/shelters_controller_spec.rb'
    - 'spec/controllers/users_controller_spec.rb'
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'
    - 'spec/features/staff_resources_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
Lint/AmbiguousRegexpLiteral:
  Exclude:
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'

# Offense count: 5
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'lib/capistrano/template.rb'
    - 'spec/factories/breed.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/cat_breed.rb'
    - 'spec/factories/dog.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/BooleanSymbol:
  Exclude:
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'

# Offense count: 3
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'
    - 'spec/validators/postal_code_validator_spec.rb'
    - 'spec/validators/region_validator_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
Lint/DeprecatedClassMethods:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'
    - 'lib/tasks/petfinder_sync.rake'

# Offense count: 2
# Cop supports --auto-correct.
Lint/DeprecatedOpenSSLConstant:
  Exclude:
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'

# Offense count: 4
Lint/DuplicateMethods:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'

# Offense count: 6
# Configuration parameters: AllowComments.
Lint/EmptyFile:
  Exclude:
    - 'app/models/animal.rb'
    - 'spec/factories/volunteer_foster_app.rb'
    - 'spec/factories/volunteer_reference.rb'
    - 'spec/features/apply_to_foster_spec.rb'
    - 'spec/features/apply_to_volunteer_spec.rb'
    - 'spec/fixtures/doc/sample.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/Loop:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/ParenthesesAsGroupedExpression:
  Exclude:
    - 'spec/factories/adoption.rb'
    - 'spec/factories/cat_adoption.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowedMethods.
# AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
Lint/RedundantSafeNavigation:
  Exclude:
    - 'app/helpers/dogs_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/RedundantStringCoercion:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'

# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: present?, blank?, presence, try, try!, in?
Lint/SafeNavigationChain:
  Exclude:
    - 'app/models/event.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/ScriptPermission:
  Exclude:
    - 'Rakefile'

# Offense count: 1
# Cop supports --auto-correct.
Lint/SendWithMixinArgument:
  Exclude:
    - 'spec/factories/adopter.rb'

# Offense count: 1
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 4
# Configuration parameters: AllowKeywordBlockArguments.
Lint/UnderscorePrefixedVariableName:
  Exclude:
    - 'lib/rescue_rails/browser_stack.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
  Exclude:
    - 'lib/tasks/populate_db.rake'

# Offense count: 1
# Cop supports --auto-correct.
Lint/UriRegexp:
  Exclude:
    - 'app/models/event.rb'

# Offense count: 9
Lint/UselessAssignment:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/concerns/sortable.rb'
    - 'app/models/dog.rb'
    - 'app/models/event_photo.rb'
    - 'app/models/google_map.rb'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/controllers/users_controller_spec.rb'
    - 'spec/tasks/adoptapet_sync_spec.rb'

# Offense count: 29
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
  Max: 37

# Offense count: 11
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
  Max: 250

# Offense count: 4
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
  Max: 9

# Offense count: 48
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
  Max: 124

# Offense count: 3
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
  Max: 11

# Offense count: 2
Naming/AccessorMethodName:
  Exclude:
    - 'app/models/contract.rb'
    - 'spec/helpers/animal_show_helper.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
  Exclude:
    - 'app/models/contract.rb'

# Offense count: 4
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
  Exclude:
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/validation_helper.rb'

# Offense count: 9
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# ForbiddenPrefixes: is_, has_, have_
# AllowedMethods: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
  Exclude:
    - 'app/helpers/dogs_helper.rb'
    - 'app/helpers/sessions_helper.rb'
    - 'app/models/cat.rb'
    - 'app/models/concerns/flaggable.rb'
    - 'app/models/dog.rb'
    - 'app/models/user.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName:
  Exclude:
    - 'lib/tasks/petfinder_sync.rake'

# Offense count: 5
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/adoption_app_controller.rb'
    - 'spec/controllers/adoptions_controller_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: SafeMultiline.
Performance/DeletePrefix:
  Exclude:
    - 'spec/support/tasks.rb'

# Offense count: 2
# Cop supports --auto-correct.
Performance/InefficientHashSearch:
  Exclude:
    - 'app/models/adoptapet.rb'
    - 'app/models/concerns/filterable.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
  Exclude:
    - 'app/models/event.rb'
    - 'lib/tasks/populate_db.rake'

# Offense count: 2
# Cop supports --auto-correct.
Performance/RegexpMatch:
  Exclude:
    - 'app/helpers/audits_helper.rb'
    - 'app/models/event.rb'

# Offense count: 6
# Cop supports --auto-correct.
Performance/StringReplacement:
  Exclude:
    - 'app/helpers/application_helper.rb'
    - 'lib/tasks/browserstack.rake'
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'
    - 'spec/features/event_management_spec.rb'

# Offense count: 2
RSpec/AnyInstance:
  Exclude:
    - 'spec/controllers/comments_controller_spec.rb'
    - 'spec/features/attach_agreement_to_user_spec.rb'

# Offense count: 3
RSpec/Be:
  Exclude:
    - 'spec/controllers/adopters_controller_spec.rb'
    - 'spec/features/clearance/visitor_resets_password_spec.rb'

# Offense count: 6
# Cop supports --auto-correct.
RSpec/Capybara/CurrentPathExpectation:
  Exclude:
    - 'spec/features/bulletin_spec.rb'
    - 'spec/features/clearance/visitor_resets_password_spec.rb'
    - 'spec/features/dashboard_spec.rb'
    - 'spec/features/event_management_spec.rb'

# Offense count: 189
# Cop supports --auto-correct.
# Configuration parameters: EnabledMethods.
RSpec/Capybara/FeatureMethods:
  Enabled: false

# Offense count: 299
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
  Enabled: false

# Offense count: 4
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
  Exclude:
    - 'spec/controllers/adoptions_controller_spec.rb'
    - 'spec/models/attachment_spec.rb'
    - 'spec/routing/events_routing_spec.rb'
    - 'spec/tasks/adoptapet_sync_spec.rb'

# Offense count: 51
# Cop supports --auto-correct.
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
  Exclude:
    - 'spec/mailers/new_adopter_mailer_spec.rb'
    - 'spec/mailers/training_mailer_spec.rb'
    - 'spec/mailers/volunteer_app_mailer_spec.rb'
    - 'spec/models/adoptapet_spec.rb'
    - 'spec/models/adopter_searcher_spec.rb'
    - 'spec/models/adopter_spec.rb'
    - 'spec/models/cat_spec.rb'
    - 'spec/models/dog_filter_spec.rb'
    - 'spec/models/dog_spec.rb'
    - 'spec/models/event_spec.rb'
    - 'spec/models/folder_attachment_spec.rb'
    - 'spec/models/user_searcher_spec.rb'
    - 'spec/models/user_spec.rb'
    - 'spec/services/country_service_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: AllowConsecutiveOneLiners.
RSpec/EmptyLineAfterExample:
  Exclude:
    - 'spec/models/user_spec.rb'
    - 'spec/requests/adopters_request_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
RSpec/EmptyLineAfterExampleGroup:
  Exclude:
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'

# Offense count: 71
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
  Enabled: false

# Offense count: 114
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
  Max: 147

# Offense count: 196
# Cop supports --auto-correct.
# Configuration parameters: CustomTransform, IgnoredWords.
RSpec/ExampleWording:
  Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
RSpec/ExpectActual:
  Exclude:
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'

# Offense count: 30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: method_call, block
RSpec/ExpectChange:
  Exclude:
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/features/apply_to_adopt_spec.rb'
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'
    - 'spec/features/event_management_spec.rb'
    - 'spec/features/staff_resources_spec.rb'

# Offense count: 10
RSpec/ExpectInHook:
  Exclude:
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/cat/cats_manager_index_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'
    - 'spec/features/dog/dogs_manager_index_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Include, EnforcedStyle.
# Include: **/*_spec.rb, **/spec/**/*, spec/factories.rb, spec/factories/**/*.rb, features/support/factories/**/*.rb
# SupportedStyles: create_list, n_times
RSpec/FactoryBot/CreateList:
  Exclude:
    - 'spec/features/donation_spec.rb'
    - 'spec/helpers/cats_list_helper.rb'
    - 'spec/helpers/dogs_list_helper.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: spec/factories.rb, spec/factories/**/*.rb, features/support/factories/**/*.rb
RSpec/FactoryBot/FactoryClassName:
  Exclude:
    - 'spec/factories/adoption.rb'
    - 'spec/factories/cat_adoption.rb'
    - 'spec/factories/invoice.rb'

# Offense count: 8
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
  Exclude:
    - 'spec/controllers/cats_gallery_controller_spec.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_gallery_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/features/campaign.spec.rb'
    - 'spec/features/clearance/migrate_from_woofbark_to_bcrypt_password.rb'
    - 'spec/mailers/adopt_app_mailer_spec.rb'
    - 'spec/models/browserstack_spec.rb'

# Offense count: 41
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
  Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
RSpec/HooksBeforeExamples:
  Exclude:
    - 'spec/models/user_spec.rb'

# Offense count: 59
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
  Exclude:
    - 'spec/validators/postal_code_validator_spec.rb'
    - 'spec/validators/region_validator_spec.rb'

# Offense count: 4
RSpec/IteratedExpectation:
  Exclude:
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'

# Offense count: 11
# Cop supports --auto-correct.
RSpec/LeadingSubject:
  Exclude:
    - 'spec/controllers/cats_gallery_controller_spec.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_gallery_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/controllers/events_controller_spec.rb'
    - 'spec/services/county_service_spec.rb'
    - 'spec/support/tasks.rb'

# Offense count: 2
RSpec/LeakyConstantDeclaration:
  Exclude:
    - 'spec/validators/postal_code_validator_spec.rb'
    - 'spec/validators/region_validator_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
RSpec/LetBeforeExamples:
  Exclude:
    - 'spec/controllers/adoptions_controller_spec.rb'
    - 'spec/requests/users_badges_request_spec.rb'

# Offense count: 113
RSpec/LetSetup:
  Enabled: false

# Offense count: 16
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
  EnforcedStyle: receive

# Offense count: 2
RSpec/MultipleDescribes:
  Exclude:
    - 'spec/features/cat/cat_search_spec.rb'
    - 'spec/features/dog/dog_search_spec.rb'

# Offense count: 268
RSpec/MultipleExpectations:
  Max: 77

# Offense count: 107
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
  Max: 15

# Offense count: 16
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
  Exclude:
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/comments_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'

# Offense count: 94
RSpec/NestedGroups:
  Max: 5

# Offense count: 46
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: not_to, to_not
RSpec/NotToNot:
  Exclude:
    - 'spec/controllers/adopters_controller_spec.rb'
    - 'spec/controllers/banned_adopters_controller_spec.rb'
    - 'spec/controllers/shelters_controller_spec.rb'
    - 'spec/controllers/users_controller_spec.rb'
    - 'spec/models/adopter_searcher_spec.rb'
    - 'spec/models/dog_filter_spec.rb'
    - 'spec/models/user_spec.rb'
    - 'spec/requests/badges_request_spec.rb'
    - 'spec/requests/bulletins_request_spec.rb'
    - 'spec/requests/invoice_request_spec.rb'
    - 'spec/validators/postal_code_validator_spec.rb'
    - 'spec/validators/region_validator_spec.rb'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: numeric, symbolic
RSpec/Rails/HttpStatus:
  Exclude:
    - 'spec/controllers/attachments_controller_spec.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/controllers/donations_controller_spec.rb'

# Offense count: 2
RSpec/RepeatedDescription:
  Exclude:
    - 'spec/controllers/events_controller_spec.rb'

# Offense count: 12
RSpec/RepeatedExample:
  Exclude:
    - 'spec/features/cat/cat_sort_spec.rb'
    - 'spec/features/dog/dog_sort_spec.rb'

# Offense count: 2
RSpec/RepeatedExampleGroupBody:
  Exclude:
    - 'spec/models/invoice_spec.rb'

# Offense count: 4
RSpec/RepeatedExampleGroupDescription:
  Exclude:
    - 'spec/mailers/volunteer_app_mailer_spec.rb'
    - 'spec/models/dog_filter_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: and_return, block
RSpec/ReturnFromStub:
  Exclude:
    - 'spec/controllers/adopters_controller_spec.rb'
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/models/adopter_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
RSpec/ScatteredLet:
  Exclude:
    - 'spec/requests/users_badges_request_spec.rb'
    - 'spec/tasks/adoptapet_sync_spec.rb'

# Offense count: 1
RSpec/StubbedMock:
  Exclude:
    - 'spec/models/adopter_spec.rb'

# Offense count: 3
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
  Exclude:
    - 'spec/features/apply_to_adopt_spec.rb'

# Offense count: 8
# Cop supports --auto-correct.
Rails/ApplicationMailer:
  Exclude:
    - 'app/mailers/adopt_app_mailer.rb'
    - 'app/mailers/adopter_followup_mailer.rb'
    - 'app/mailers/bite_prevention_mailer.rb'
    - 'app/mailers/donation_mailer.rb'
    - 'app/mailers/invoice_mailer.rb'
    - 'app/mailers/new_adopter_mailer.rb'
    - 'app/mailers/training_mailer.rb'
    - 'app/mailers/volunteer_app_mailer.rb'

# Offense count: 1
# Cop supports --auto-correct.
Rails/ApplicationRecord:
  Exclude:
    - 'app/models/post.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
Rails/Blank:
  Exclude:
    - 'app/controllers/users_controller.rb'
    - 'app/services/county_service.rb'

# Offense count: 43
# Configuration parameters: EnforcedStyle, AllowToTime.
# SupportedStyles: strict, flexible
Rails/Date:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'app/models/event.rb'
    - 'spec/controllers/events_controller_spec.rb'
    - 'spec/factories/adopter.rb'
    - 'spec/factories/adoption_app.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/factories/event.rb'
    - 'spec/factories/treatment_records.rb'
    - 'spec/models/cat_spec.rb'
    - 'spec/models/dog_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
# Whitelist: find_by_sql
# AllowedMethods: find_by_sql
# AllowedReceivers: Gem::Specification
Rails/DynamicFindBy:
  Exclude:
    - 'spec/features/cat/cats_gallery_spec.rb'
    - 'spec/features/dog/dogs_gallery_spec.rb'

# Offense count: 79
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'
    - 'lib/tasks/browserstack.rake'
    - 'lib/tasks/populate_db.rake'
    - 'spec/factories/attachment.rb'
    - 'spec/factories/badge.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/features/attach_agreement_to_user_spec.rb'
    - 'spec/features/cat/add_cat_spec.rb'
    - 'spec/features/cat/edit_cat_spec.rb'
    - 'spec/features/dog/add_dog_spec.rb'
    - 'spec/features/dog/edit_dog_spec.rb'
    - 'spec/features/event_management_spec.rb'
    - 'spec/features/staff_resources_spec.rb'
    - 'spec/spec_helper.rb'

# Offense count: 2
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasAndBelongsToMany:
  Exclude:
    - 'app/models/badge.rb'
    - 'app/models/user.rb'

# Offense count: 15
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
  Exclude:
    - 'app/models/breed.rb'
    - 'app/models/cat.rb'
    - 'app/models/cat_adoption.rb'
    - 'app/models/cat_breed.rb'
    - 'app/models/dog.rb'
    - 'app/models/donation.rb'
    - 'app/models/shelter.rb'
    - 'app/models/treatment.rb'
    - 'app/models/user.rb'

# Offense count: 58
# Configuration parameters: Include.
# Include: app/helpers/**/*.rb
Rails/HelperInstanceVariable:
  Exclude:
    - 'app/helpers/about_animal_helper.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/campaigns_helper.rb'
    - 'app/helpers/dogs_helper.rb'
    - 'app/helpers/events_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: spec/**/*, test/**/*
Rails/HttpPositionalArguments:
  Exclude:
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: numeric, symbolic
Rails/HttpStatus:
  Exclude:
    - 'app/controllers/application_controller.rb'
    - 'app/controllers/folder_attachments_controller.rb'

# Offense count: 27
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
  Exclude:
    - 'app/models/adopter.rb'
    - 'app/models/breed.rb'
    - 'app/models/cat.rb'
    - 'app/models/cat_breed.rb'
    - 'app/models/dog.rb'
    - 'app/models/folder.rb'
    - 'app/models/folder_attachment.rb'
    - 'app/models/user.rb'
    - 'app/models/volunteer_app.rb'

# Offense count: 20
# Configuration parameters: Include.
# Include: app/controllers/**/*.rb
Rails/LexicallyScopedActionFilter:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/adoptions_controller.rb'
    - 'app/controllers/banned_adopters_controller.rb'
    - 'app/controllers/cat_adoptions_controller.rb'
    - 'app/controllers/cats/gallery_controller.rb'
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/comments_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'
    - 'app/controllers/events_controller.rb'
    - 'app/controllers/invoices_controller.rb'
    - 'app/controllers/pages_controller.rb'

# Offense count: 10
Rails/OutputSafety:
  Exclude:
    - 'app/helpers/adopters_helper.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/models/adoptapet.rb'
    - 'app/models/carousel.rb'
    - 'app/models/event_photo.rb'
    - 'app/models/google_map.rb'
    - 'app/models/user.rb'
    - 'lib/local_extensions/form_builder.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/Rakefile, **/*.rake
Rails/RakeEnvironment:
  Exclude:
    - 'lib/tasks/test_suite.rake'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/ReadWriteAttribute:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'

# Offense count: 1
# Cop supports --auto-correct.
Rails/RedundantForeignKey:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 31
# Configuration parameters: ForbiddenMethods, AllowedMethods.
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
Rails/SkipsModelValidations:
  Exclude:
    - 'app/controllers/photos_controller.rb'
    - 'app/models/mail_chimp_client.rb'
    - 'app/models/user.rb'
    - 'lib/clearance/log_last_login_at.rb'
    - 'lib/tasks/populate_db.rake'
    - 'spec/features/cat/cat_manager_show_spec.rb'
    - 'spec/features/dog/dog_manager_show_spec.rb'
    - 'spec/features/edit_adopter_spec.rb'
    - 'spec/models/cat_spec.rb'
    - 'spec/models/dog_spec.rb'

# Offense count: 14
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
  Exclude:
    - 'app/controllers/donations_controller.rb'
    - 'app/controllers/invoices_controller.rb'
    - 'app/controllers/users_controller.rb'
    - 'app/models/adopter.rb'
    - 'app/models/invoice.rb'
    - 'lib/tasks/adoptapet_sync.rake'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/factories/user.rb'

# Offense count: 7
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'app/models/volunteer_app.rb'

# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/Validation:
  Exclude:
    - 'app/models/adopter.rb'
    - 'app/models/adoption.rb'
    - 'app/models/campaign.rb'
    - 'app/models/cat.rb'
    - 'app/models/cat_adoption.rb'
    - 'app/models/dog.rb'
    - 'app/models/event.rb'
    - 'app/models/invoice.rb'
    - 'app/models/treatment.rb'
    - 'app/models/volunteer_foster_app.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect.
Security/JSONLoad:
  Exclude:
    - 'lib/tasks/populate_db.rake'

# Offense count: 4
Security/Open:
  Exclude:
    - 'app/models/event.rb'
    - 'lib/tasks/petfinder_sync.rake'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
  Exclude:
    - 'app/models/adopter.rb'
    - 'spec/validators/postal_code_validator_spec.rb'
    - 'spec/validators/region_validator_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, conditionals
Style/AndOr:
  Exclude:
    - 'app/models/adopter_searcher.rb'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/features/donation_spec.rb'
    - 'spec/features/invoice_pay_spec.rb'

# Offense count: 30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
# FunctionalMethods: let, let!, subject, watch
# IgnoredMethods: lambda, proc, it
Style/BlockDelimiters:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Style/CaseLikeIf:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/models/adopter_searcher.rb'
    - 'app/models/volunteer_app.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Exclude:
    - 'app/controllers/cats/cats_base_controller.rb'
    - 'app/controllers/cats/gallery_controller.rb'
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/dogs/dogs_base_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'
    - 'lib/local_extensions/form_builder.rb'
    - 'lib/rescue_rails/browser_stack.rb'
    - 'spec/rails_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/ColonMethodCall:
  Exclude:
    - 'app/models/event.rb'
    - 'spec/factories/event.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/adoption_app_controller.rb'

# Offense count: 5
# Cop supports --auto-correct.
Style/CommentedKeyword:
  Exclude:
    - 'app/models/cat_filter.rb'
    - 'app/models/concerns/flaggable.rb'
    - 'app/models/dog_filter.rb'
    - 'spec/features/cat/cat_manager_show_spec.rb'
    - 'spec/features/dog/dog_manager_show_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
  Exclude:
    - 'app/controllers/invoices_controller.rb'
    - 'app/models/adopter_searcher.rb'
    - 'app/models/concerns/sortable.rb'
    - 'app/models/user_searcher.rb'
    - 'app/models/volunteer_app_searcher.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/EachWithObject:
  Exclude:
    - 'lib/local_extensions/array.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/EmptyCaseCondition:
  Exclude:
    - 'app/controllers/cats/gallery_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/helpers/adopters_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/EmptyLiteral:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/models/fake_mail_chimp_client.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/ExpandPathArguments:
  Exclude:
    - 'Rakefile'
    - 'config.ru'
    - 'spec/rails_helper.rb'

# Offense count: 292
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
  Enabled: false

# Offense count: 10
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/dogs_helper.rb'
    - 'app/models/adopter.rb'
    - 'app/models/adoption.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'app/models/user.rb'
    - 'lib/capistrano/template.rb'
    - 'spec/rails_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces
Style/HashAsLastArrayItem:
  Exclude:
    - 'app/controllers/cats/manager_controller.rb'
    - 'app/controllers/dogs/manager_controller.rb'

# Offense count: 28
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Style/HashSyntax:
  Exclude:
    - 'Gemfile'
    - 'app/controllers/sample_images_controller.rb'
    - 'lib/tasks/browserstack.rake'
    - 'spec/drivers/browserstack.rb'
    - 'spec/drivers/selenium_firefox.rb'
    - 'spec/drivers/selenium_firefox_headless.rb'
    - 'spec/factories/adopter.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/features/manage_medical_behavior_summaries_spec.rb'
    - 'spec/spec_helper.rb'
    - 'spec/support/database_cleaner.rb'
    - 'spec/support/geocoder_stubs.rb'
    - 'spec/support/tasks.rb'

# Offense count: 4
# Cop supports --auto-correct.
Style/IdenticalConditionalBranches:
  Exclude:
    - 'app/controllers/invoices_controller.rb'
    - 'app/controllers/users_badges_controller.rb'

# Offense count: 13
# Cop supports --auto-correct.
Style/IfUnlessModifier:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/donations_controller.rb'
    - 'app/controllers/events_controller.rb'
    - 'app/helpers/dogs_helper.rb'
    - 'app/mailers/volunteer_app_mailer.rb'
    - 'app/models/adopter.rb'
    - 'app/models/cat.rb'
    - 'app/models/concerns/filterable.rb'
    - 'app/models/dog.rb'
    - 'app/models/user.rb'
    - 'lib/tasks/adoptapet_sync.rake'
    - 'spec/rails_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/KeywordParametersOrder:
  Exclude:
    - 'app/models/adopter_searcher.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: line_count_dependent, lambda, literal
Style/Lambda:
  Exclude:
    - 'app/models/event.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'spec/models/cat_spec.rb'
    - 'spec/models/dog_spec.rb'
    - 'spec/requests/volunteer_app_request_spec.rb'

# Offense count: 2
Style/MixinUsage:
  Exclude:
    - 'spec/factories/event.rb'
    - 'spec/factories/invoice.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/MultilineTernaryOperator:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'app/models/event_photo.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/MultipleComparison:
  Exclude:
    - 'lib/tasks/petfinder_sync.rake'

# Offense count: 55
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
  Enabled: false

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: both, prefix, postfix
Style/NegatedIf:
  Exclude:
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'app/models/user.rb'
    - 'spec/spec_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/NegatedWhile:
  Exclude:
    - 'spec/factories/adoption.rb'
    - 'spec/factories/cat_adoption.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NilComparison:
  Exclude:
    - 'app/models/adopter_searcher.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: Strict.
Style/NumericLiterals:
  MinDigits: 10

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'app/models/invoice.rb'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
Style/ParenthesesAroundCondition:
  Exclude:
    - 'app/controllers/users_controller.rb'
    - 'app/mailers/volunteer_app_mailer.rb'
    - 'app/models/adopter.rb'
    - 'app/models/invoice.rb'

# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
  Exclude:
    - 'app/controllers/adopters_controller.rb'
    - 'app/controllers/adoptions_controller.rb'
    - 'app/controllers/badges_controller.rb'
    - 'app/controllers/cat_adoptions_controller.rb'
    - 'app/controllers/cats/gallery_controller.rb'
    - 'app/controllers/comments_controller.rb'
    - 'app/controllers/dogs/gallery_controller.rb'
    - 'app/controllers/invoices_controller.rb'
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/models/adopter_searcher.rb'
    - 'app/models/dog.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: short, verbose
Style/PreferredHashMethods:
  Exclude:
    - 'app/models/adopter_searcher.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/RandomWithOffset:
  Exclude:
    - 'spec/factories/event.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantBegin:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantCondition:
  Exclude:
    - 'lib/tasks/adoptapet_sync.rake'

# Offense count: 9
# Cop supports --auto-correct.
Style/RedundantInterpolation:
  Exclude:
    - 'app/mailers/adopt_app_mailer.rb'
    - 'app/mailers/adopter_followup_mailer.rb'
    - 'app/mailers/bite_prevention_mailer.rb'
    - 'app/mailers/new_adopter_mailer.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'

# Offense count: 8
# Cop supports --auto-correct.
Style/RedundantParentheses:
  Exclude:
    - 'app/helpers/dogs_helper.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/RedundantRegexpCharacterClass:
  Exclude:
    - 'app/models/adopter_searcher.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
  Exclude:
    - 'app/helpers/application_helper.rb'
    - 'app/models/adoption.rb'
    - 'app/models/cat.rb'
    - 'app/models/cat_adoption.rb'
    - 'app/models/dog.rb'
    - 'lib/capistrano/template.rb'

# Offense count: 17
# Cop supports --auto-correct.
Style/RedundantSelf:
  Exclude:
    - 'app/models/cat.rb'
    - 'app/models/concerns/filterable.rb'
    - 'app/models/dog.rb'
    - 'app/models/event.rb'
    - 'app/models/invoice.rb'
    - 'lib/local_extensions/array.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
  Exclude:
    - 'app/models/event.rb'
    - 'lib/tasks/browserstack.rake'
    - 'spec/features/cat/cat_public_show_spec.rb'
    - 'spec/features/dog/dog_public_show_spec.rb'

# Offense count: 18
# Cop supports --auto-correct.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
  Exclude:
    - 'app/controllers/users_controller.rb'
    - 'app/helpers/sessions_helper.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'spec/rails_helper.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
  Exclude:
    - 'lib/local_extensions/array.rb'
    - 'spec/factories/breed.rb'
    - 'spec/factories/cat.rb'
    - 'spec/factories/cat_breed.rb'
    - 'spec/factories/dog.rb'
    - 'spec/features/staff_resources_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowModifier.
Style/SoleNestedConditional:
  Exclude:
    - 'app/controllers/adopters_controller.rb'

# Offense count: 26
# Cop supports --auto-correct.
Style/StringConcatenation:
  Exclude:
    - 'app/controllers/users_controller.rb'
    - 'app/controllers/volunteer_apps_controller.rb'
    - 'app/models/adopter_searcher.rb'
    - 'app/models/cat.rb'
    - 'app/models/dog.rb'
    - 'lib/local_extensions/array.rb'
    - 'lib/tasks/adoptapet_sync.rake'
    - 'lib/tasks/petfinder_sync.rake'
    - 'spec/factories/cat.rb'
    - 'spec/factories/dog.rb'
    - 'spec/features/link_cats_to_adopters_spec.rb'
    - 'spec/features/link_dogs_to_adopters_spec.rb'
    - 'spec/tasks/adoptapet_sync_spec.rb'

# Offense count: 1659
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
  Enabled: false

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
  Exclude:
    - 'spec/features/event_management_spec.rb'
    - 'spec/rails_helper.rb'

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

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
  Exclude:
    - 'app/mailers/volunteer_app_mailer.rb'
    - 'spec/tasks/adoptapet_sync_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
Style/TernaryParentheses:
  Exclude:
    - 'app/models/adopter_searcher.rb'
    - 'app/models/cat_filter.rb'
    - 'app/models/dog_filter.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments:
  Exclude:
    - 'spec/controllers/cats_manager_controller_spec.rb'
    - 'spec/controllers/dogs_manager_controller_spec.rb'
    - 'spec/features/clearance/visitor_resets_password_spec.rb'
    - 'spec/features/clearance/visitor_updates_password_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInHashLiteral:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/WhileUntilDo:
  Exclude:
    - 'spec/factories/adoption.rb'
    - 'spec/factories/cat_adoption.rb'

# Offense count: 48
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
  Enabled: false

# Offense count: 158
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
  Max: 625