# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-01-23 15:08:32 +0000 using RuboCop version 0.51.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: 19
Capybara/CurrentPathExpectation:
  Exclude:
    - 'src/api/spec/features/webui/groups_spec.rb'
    - 'src/api/spec/features/webui/packages_spec.rb'
    - 'src/api/spec/features/webui/projects_spec.rb'

# Offense count: 132
Capybara/FeatureMethods:
  Enabled: false

# Offense count: 6
FactoryBot/DynamicAttributeDefinedStatically:
  Exclude:
    - 'src/api/spec/factories/attrib_default_values.rb'
    - 'src/api/spec/factories/issue.rb'
    - 'src/api/spec/factories/issue_tracker.rb'

# Offense count: 3
Lint/DuplicateMethods:
  Exclude:
    - 'src/api/app/models/history_element.rb'
    - 'src/api/lib/activexml/node.rb'

# Offense count: 22
Lint/HandleExceptions:
  Enabled: false

# Offense count: 7
Lint/NonLocalExitFromIterator:
  Exclude:
    - 'src/api/app/controllers/build_controller.rb'
    - 'src/api/app/controllers/configurations_controller.rb'
    - 'src/api/app/controllers/webui/patchinfo_controller.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/app/models/patchinfo.rb'
    - 'src/api/app/models/relationship.rb'

# Offense count: 5
Lint/RescueException:
  Exclude:
    - 'src/api/app/controllers/person_controller.rb'
    - 'src/api/app/controllers/public_controller.rb'
    - 'src/api/app/models/user_ldap_strategy.rb'
    - 'src/api/config/environment.rb'
    - 'src/api/lib/tasks/extract.rake'

# Offense count: 25
Lint/RescueWithoutErrorClass:
  Enabled: false

# Offense count: 1
Lint/ShadowedException:
  Exclude:
    - 'src/api/lib/activexml/transport.rb'

# Offense count: 40
Lint/UriEscapeUnescape:
  Enabled: false

# Offense count: 893
Metrics/AbcSize:
  Max: 239

# Offense count: 416
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
  Max: 697

# Offense count: 25
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
  Max: 6

# Offense count: 90
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 1146

# Offense count: 243
Metrics/CyclomaticComplexity:
  Max: 55

# Offense count: 948
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 264

# Offense count: 7
# Configuration parameters: CountComments.
Metrics/ModuleLength:
  Max: 341

# Offense count: 20
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 9

# Offense count: 207
Metrics/PerceivedComplexity:
  Max: 55

# Offense count: 14
Naming/AccessorMethodName:
  Exclude:
    - 'src/api/app/controllers/application_controller.rb'
    - 'src/api/app/controllers/person_controller.rb'
    - 'src/api/app/controllers/source_controller.rb'
    - 'src/api/app/controllers/statistics_controller.rb'
    - 'src/api/app/controllers/webui/patchinfo_controller.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/app/models/bs_request_action.rb'
    - 'src/api/app/models/bs_request_action_maintenance_release.rb'
    - 'src/api/app/models/group.rb'
    - 'src/api/app/models/issue_tracker.rb'
    - 'src/api/app/models/package.rb'
    - 'src/api/app/models/user.rb'
    - 'src/api/test/functional/search_controller_test.rb'

# Offense count: 1
Naming/ConstantName:
  Exclude:
    - 'src/api/app/models/event/request.rb'

# Offense count: 28
# Configuration parameters: Blacklist.
# Blacklist: END, (?-mix:EO[A-Z]{1})
Naming/HeredocDelimiterNaming:
  Exclude:
    - 'src/api/app/models/package.rb'
    - 'src/api/db/seeds.rb'
    - 'src/api/spec/controllers/webui/package_controller_spec.rb'
    - 'src/api/spec/helpers/webui/flash_helper_spec.rb'
    - 'src/api/spec/models/project/update_from_xml_command_spec.rb'
    - 'src/api/test/functional/issue_trackers_controller_test.rb'
    - 'src/api/test/functional/source_controller_test.rb'
    - 'src/api/test/unit/project_test.rb'
    - 'src/api/test/unit/validator_test.rb'

# Offense count: 12
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
  Exclude:
    - 'src/api/app/controllers/source_controller.rb'
    - 'src/api/app/models/maintenance_incident.rb'
    - 'src/api/app/models/product.rb'
    - 'src/api/app/models/service.rb'
    - 'src/api/test/functional/maintenance_test.rb'
    - 'src/api/test/functional/search_controller_test.rb'
    - 'src/api/test/test_helper.rb'

# Offense count: 55
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
  Exclude:
    - 'spec/**/*'
    - 'src/api/app/helpers/webui/webui_helper.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/app/models/bs_request_action.rb'
    - 'src/api/app/models/bs_request_action_maintenance_incident.rb'
    - 'src/api/app/models/bs_request_action_maintenance_release.rb'
    - 'src/api/app/models/bs_request_action_submit.rb'
    - 'src/api/app/models/channel.rb'
    - 'src/api/app/models/flag.rb'
    - 'src/api/app/models/package.rb'
    - 'src/api/app/models/patchinfo.rb'
    - 'src/api/app/models/project.rb'
    - 'src/api/app/models/repository.rb'
    - 'src/api/app/models/user.rb'
    - 'src/api/app/models/user_ldap_strategy.rb'
    - 'src/api/lib/activexml/node.rb'

# Offense count: 3
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, normalcase, non_integer
Naming/VariableNumber:
  Exclude:
    - 'src/api/spec/features/webui/projects_spec.rb'
    - 'src/api/test/unit/project_test.rb'

# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect.
Performance/HashEachMethods:
  Enabled: false

# Offense count: 45
RSpec/AnyInstance:
  Enabled: false

# Offense count: 2
RSpec/BeforeAfterAll:
  Exclude:
    - 'spec/spec_helper.rb'
    - 'spec/rails_helper.rb'
    - 'spec/support/**/*.rb'
    - 'src/api/spec/models/relationship_spec.rb'

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

# Offense count: 7
RSpec/DescribeClass:
  Exclude:
    - 'src/api/spec/routing/api_matcher_spec.rb'
    - 'src/api/spec/routing/source/key_info_spec.rb'
    - 'src/api/spec/routing/webui/projects/image_templates_spec.rb'
    - 'src/api/spec/routing/webui/projects/public_key_spec.rb'
    - 'src/api/spec/routing/webui/projects/ssl_certificate_spec.rb'
    - 'src/api/spec/routing/webui/users/requests_spec.rb'
    - 'src/api/spec/routing/webui_matcher_spec.rb'

# Offense count: 158
# Configuration parameters: SkipBlocks, EnforcedStyle, SupportedStyles.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
  Enabled: false

# Offense count: 35
RSpec/EmptyLineAfterFinalLet:
  Enabled: false

# Offense count: 20
RSpec/EmptyLineAfterSubject:
  Exclude:
    - 'src/api/spec/controllers/webui/cloud/upload_jobs_controller_spec.rb'
    - 'src/api/spec/controllers/webui/user_controller_spec.rb'
    - 'src/api/spec/models/backend_info_spec.rb'
    - 'src/api/spec/models/bs_request/find_for/user_spec.rb'
    - 'src/api/spec/models/bs_request_spec.rb'
    - 'src/api/spec/models/download_repository_spec.rb'
    - 'src/api/spec/models/review_spec.rb'
    - 'src/api/spec/support/shared_examples/features/flags_tables.rb'

# Offense count: 147
# Configuration parameters: Max.
RSpec/ExampleLength:
  Enabled: false

# Offense count: 18
# Configuration parameters: CustomTransform, IgnoredWords.
RSpec/ExampleWording:
  Exclude:
    - 'src/api/spec/controllers/webui/comments_controller_spec.rb'
    - 'src/api/spec/controllers/webui/packages/build_reason_controller_spec.rb'
    - 'src/api/spec/controllers/webui/packages/job_history_controller_spec.rb'
    - 'src/api/spec/controllers/webui/repositories_controller_spec.rb'
    - 'src/api/spec/jobs/update_package_meta_job_spec.rb'
    - 'src/api/spec/models/backend/file_spec.rb'
    - 'src/api/spec/models/branch_package_spec.rb'
    - 'src/api/spec/models/comment_spec.rb'
    - 'src/api/spec/models/project/update_from_xml_command_spec.rb'

# Offense count: 8
RSpec/ExpectActual:
  Exclude:
    - 'spec/routing/**/*'
    - 'src/api/spec/controllers/webui/webui_controller_spec.rb'
    - 'src/api/spec/helpers/webui/webui_helper_spec.rb'
    - 'src/api/spec/script/db_checker.rb'

# Offense count: 3
RSpec/ExpectInHook:
  Exclude:
    - 'src/api/spec/controllers/webui/project_controller_spec.rb'
    - 'src/api/spec/features/webui/projects_spec.rb'

# Offense count: 11
# Configuration parameters: CustomTransform, IgnoreMethods.
RSpec/FilePath:
  Exclude:
    - 'src/api/spec/controllers/webui/attributes_controller_spec.rb'
    - 'src/api/spec/controllers/webui/cloud/ec2/upload_job/logs_controller_spec.rb'
    - 'src/api/spec/controllers/webui/users/rss_token_controller_spec.rb'
    - 'src/api/spec/decorators/statistics/maintenance_statistic_decorator.rb'
    - 'src/api/spec/helpers/webui/build_result_helper.rb'
    - 'src/api/spec/jobs/bs_request_action_webui_infos_job.rb'
    - 'src/api/spec/jobs/project_log_rotate_job_spec.rb'
    - 'src/api/spec/models/cloud/params/ec2.rb'
    - 'src/api/spec/models/event/comment_spec.rb'
    - 'src/api/spec/models/image_template_spec.rb'
    - 'src/api/spec/script/db_checker.rb'

# Offense count: 7
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
  Exclude:
    - 'src/api/spec/models/branch_package_spec.rb'
    - 'src/api/spec/models/group_spec.rb'
    - 'src/api/spec/rails_helper.rb'
    - 'src/api/spec/support/database_cleaner.rb'

# Offense count: 13
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: is_expected, should
RSpec/ImplicitExpect:
  Exclude:
    - 'src/api/spec/controllers/webui/download_on_demand_controller_spec.rb'
    - 'src/api/spec/models/bs_request_action_spec.rb'
    - 'src/api/spec/models/project_spec.rb'
    - 'src/api/spec/models/repository_spec.rb'
    - 'src/api/spec/models/review_spec.rb'

# Offense count: 94
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
  Enabled: false

# Offense count: 63
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: it_behaves_like, it_should_behave_like
RSpec/ItBehavesLike:
  Exclude:
    - 'src/api/spec/controllers/person_controller_spec.rb'
    - 'src/api/spec/controllers/webui/package_controller_spec.rb'
    - 'src/api/spec/controllers/webui/project_controller_spec.rb'
    - 'src/api/spec/controllers/webui/user_controller_spec.rb'
    - 'src/api/spec/helpers/webui/package_helper_spec.rb'
    - 'src/api/spec/models/bs_request_action_spec.rb'
    - 'src/api/spec/models/bs_request_spec.rb'
    - 'src/api/spec/models/project_status/pack_info_spec.rb'
    - 'src/api/spec/models/review_spec.rb'
    - 'src/api/spec/models/user_ldap_strategy_spec.rb'

# Offense count: 2
RSpec/IteratedExpectation:
  Exclude:
    - 'src/api/spec/models/user_spec.rb'
    - 'src/api/spec/script/db_checker.rb'

# Offense count: 73
RSpec/LeadingSubject:
  Enabled: false

# Offense count: 5
RSpec/LetBeforeExamples:
  Exclude:
    - 'src/api/spec/controllers/webui/request_controller_spec.rb'

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

# Offense count: 5
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
  Exclude:
    - 'src/api/spec/controllers/webui/apidocs_controller_spec.rb'
    - 'src/api/spec/controllers/webui/project_controller_spec.rb'
    - 'src/api/spec/helpers/validation_helper_spec.rb'
    - 'src/api/spec/models/kiwi/image_spec.rb'

# Offense count: 270
RSpec/MultipleExpectations:
  Max: 15

# Offense count: 454
RSpec/NamedSubject:
  Enabled: false

# Offense count: 232
# Configuration parameters: Max.
RSpec/NestedGroups:
  Enabled: false

# Offense count: 18
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: not_to, to_not
RSpec/NotToNot:
  Exclude:
    - 'src/api/spec/controllers/person_controller_spec.rb'
    - 'src/api/spec/controllers/public_controller_spec.rb'
    - 'src/api/spec/controllers/webui/main_controller_spec.rb'
    - 'src/api/spec/controllers/webui/repositories_controller_spec.rb'
    - 'src/api/spec/controllers/webui/user_controller_spec.rb'
    - 'src/api/spec/helpers/validation_helper_spec.rb'
    - 'src/api/spec/helpers/webui/webui_helper_spec.rb'
    - 'src/api/spec/models/comment_spec.rb'
    - 'src/api/spec/models/package_spec.rb'
    - 'src/api/spec/models/user_spec.rb'
    - 'src/api/spec/routing/api_matcher_spec.rb'

# Offense count: 44
# Configuration parameters: Strict, EnforcedStyle, SupportedStyles.
# SupportedStyles: inflected, explicit
RSpec/PredicateMatcher:
  Exclude:
    - 'src/api/spec/controllers/webui/request_controller_spec.rb'
    - 'src/api/spec/models/attrib_value_spec.rb'
    - 'src/api/spec/models/backend/file_spec.rb'
    - 'src/api/spec/models/cloud/backend/upload_job_spec.rb'
    - 'src/api/spec/models/cloud/upload_job_spec.rb'
    - 'src/api/spec/models/event_subscription/generate_hash_for_subscriber_spec.rb'
    - 'src/api/spec/models/kiwi/image_spec.rb'
    - 'src/api/spec/models/project_spec.rb'
    - 'src/api/spec/models/review_spec.rb'
    - 'src/api/spec/models/user_spec.rb'

# Offense count: 4
RSpec/RepeatedDescription:
  Exclude:
    - 'src/api/spec/features/webui/projects_spec.rb'
    - 'src/api/spec/models/kiwi/repository_spec.rb'

# Offense count: 9
RSpec/RepeatedExample:
  Exclude:
    - 'src/api/spec/lib/backend/connection_helper_spec.rb'
    - 'src/api/spec/models/bs_request/find_for/user_spec.rb'
    - 'src/api/spec/models/kiwi/image_spec.rb'
    - 'src/api/spec/models/relationship_spec.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: and_return, block
RSpec/ReturnFromStub:
  Exclude:
    - 'src/api/spec/controllers/webui/project_controller_spec.rb'

# Offense count: 9
RSpec/ScatteredLet:
  Exclude:
    - 'src/api/spec/controllers/webui/patchinfo_controller_spec.rb'
    - 'src/api/spec/controllers/webui/subscriptions_controller_spec.rb'
    - 'src/api/spec/models/bs_request_spec.rb'
    - 'src/api/spec/models/package_spec.rb'
    - 'src/api/spec/models/project_spec.rb'

# Offense count: 4
RSpec/ScatteredSetup:
  Exclude:
    - 'src/api/spec/controllers/webui/cloud/upload_jobs_controller_spec.rb'
    - 'src/api/spec/jobs/update_released_binaries_job_spec.rb'

# Offense count: 1
RSpec/SubjectStub:
  Exclude:
    - 'src/api/spec/models/kiwi/image_spec.rb'

# Offense count: 32
# Configuration parameters: IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
  Exclude:
    - 'src/api/spec/decorators/statistics/maintenance_statistic_decorator.rb'
    - 'src/api/spec/features/webui/login_spec.rb'
    - 'src/api/spec/jobs/issue_tracker_fetch_issues_job_spec.rb'
    - 'src/api/spec/jobs/issue_tracker_update_issues_job_spec.rb'
    - 'src/api/spec/lib/authenticator_spec.rb'
    - 'src/api/spec/lib/backend/connection_helper_spec.rb'
    - 'src/api/spec/mixins/build_log_support_spec.rb'
    - 'src/api/spec/mixins/parse_package_diff_spec.rb'
    - 'src/api/spec/models/issue_tracker_spec.rb'
    - 'src/api/spec/models/user_ldap_strategy_spec.rb'
    - 'src/api/spec/models/user_spec.rb'
    - 'src/api/spec/support/shared_contexts/a_kerberos_mock.rb'
    - 'src/api/spec/support/shared_contexts/setup_ldap_mock.rb'
    - 'src/api/spec/support/shared_examples/a_ldap_connection.rb'

# Offense count: 83
Rails/FilePath:
  Enabled: false

# Offense count: 22
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
  Exclude:
    - 'src/api/app/models/architecture.rb'
    - 'src/api/app/models/attrib.rb'
    - 'src/api/app/models/package.rb'
    - 'src/api/app/models/project.rb'
    - 'src/api/app/models/repository.rb'
    - 'src/api/app/models/review.rb'
    - 'src/api/app/models/static_permission.rb'
    - 'src/api/app/models/user.rb'

# Offense count: 30
Rails/OutputSafety:
  Exclude:
    - 'src/api/app/helpers/comment_helper.rb'
    - 'src/api/app/helpers/webui/package_helper.rb'
    - 'src/api/app/helpers/webui/project_helper.rb'
    - 'src/api/app/helpers/webui/request_helper.rb'
    - 'src/api/app/helpers/webui/webui_helper.rb'

# Offense count: 8
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/ReversibleMigration:
  Exclude:
    - 'src/api/db/migrate/20140210114542_remove_project_and_package_from_subscription.rb'
    - 'src/api/db/migrate/20140516182719_fix_configuration_register_enum.rb'
    - 'src/api/db/migrate/20160824132643_fix_bs_request_counter.rb'
    - 'src/api/db/migrate/20170103132257_change_project_package_name_to_string.rb'

# Offense count: 6
# Configuration parameters: Blacklist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
  Exclude:
    - 'src/api/db/migrate/20151030130011_mark_events.rb'
    - 'src/api/db/migrate/20161128115942_add_when_attribute_to_bs_request.rb'
    - 'src/api/db/migrate/20170621100321_add_channel_to_event_subscriptions.rb'
    - 'src/api/db/migrate/20170630144825_convert_tokens_to_service_tokens.rb'
    - 'src/api/spec/models/bs_request_action_spec.rb'
    - 'src/api/spec/models/review_spec.rb'

# Offense count: 101
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/TimeZone:
  Enabled: false

# Offense count: 68
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Enabled: false

# Offense count: 35
Style/ClassVars:
  Exclude:
    - 'src/api/app/controllers/test_controller.rb'
    - 'src/api/app/models/issue_tracker.rb'
    - 'src/api/app/models/user.rb'
    - 'src/api/app/models/user_ldap_strategy.rb'
    - 'src/api/lib/activexml/node.rb'
    - 'src/api/lib/activexml/transport.rb'
    - 'src/api/test/functional/branch_publish_flag_test.rb'
    - 'src/api/test/test_helper.rb'

# Offense count: 8
Style/CommentedKeyword:
  Exclude:
    - 'src/api/app/helpers/webui/webui_helper.rb'
    - 'src/api/app/models/bs_request_action.rb'
    - 'src/api/test/functional/source_controller_test.rb'
    - 'src/api/test/unit/project_remove_test.rb'
    - 'src/api/test/unit/user_ldap_strategy_test.rb'
    - 'src/api/test/unit/user_test.rb'

# Offense count: 94
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
  Enabled: false

# Offense count: 17
Style/DateTime:
  Exclude:
    - 'src/api/app/controllers/request_controller.rb'
    - 'src/api/app/jobs/project_create_auto_cleanup_requests.rb'
    - 'src/api/app/models/branch_package.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/spec/features/webui/requests_spec.rb'
    - 'src/api/test/functional/maintenance_test.rb'

# Offense count: 11
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: for, each
Style/For:
  Exclude:
    - 'src/api/app/models/bs_request_action_maintenance_release.rb'
    - 'src/api/app/models/project.rb'
    - 'src/api/app/views/webui/feeds/news.rss.builder'
    - 'src/api/db/attribute_descriptions.rb'
    - 'src/api/test/functional/attributes_test.rb'
    - 'src/api/test/unit/build_flag_test.rb'
    - 'src/api/test/unit/debug_flag_test.rb'
    - 'src/api/test/unit/publish_flag_test.rb'

# Offense count: 12
# Configuration parameters: SupportedStyles.
# SupportedStyles: annotated, template
Style/FormatStringToken:
  EnforcedStyle: template

# Offense count: 8
Style/IdenticalConditionalBranches:
  Exclude:
    - 'src/api/app/controllers/build_controller.rb'
    - 'src/api/app/controllers/webui/package_controller.rb'
    - 'src/api/app/controllers/webui/search_controller.rb'

# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
  Exclude:
    - 'src/api/app/controllers/webui/project_controller.rb'
    - 'src/api/app/mixins/has_attributes.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/app/models/bs_request_action_submit.rb'
    - 'src/api/app/models/bs_request_permission_check.rb'
    - 'src/api/app/models/package.rb'
    - 'src/api/app/models/project.rb'
    - 'src/api/app/views/source/_common_issues.xml.builder'
    - 'src/api/test/functional/request_events_test.rb'

# Offense count: 2
Style/MethodMissing:
  Exclude:
    - 'src/api/app/models/configuration.rb'
    - 'src/api/lib/opensuse/permission.rb'

# Offense count: 3
Style/MixinUsage:
  Exclude:
    - 'src/api/app/controllers/request_controller.rb'
    - 'src/api/app/controllers/source_controller.rb'
    - 'src/api/app/helpers/maintenance_helper.rb'

# Offense count: 5
Style/MultipleComparison:
  Exclude:
    - 'src/api/app/helpers/flag_helper.rb'
    - 'src/api/app/models/bs_request.rb'
    - 'src/api/lib/memory_debugger.rb'
    - 'src/api/lib/tasks/extract.rake'
    - 'src/api/script/reformat_memprof'

# Offense count: 88
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
  Exclude:
    - 'src/api/lib/activexml/node.rb'
    - 'src/api/test/test_helper.rb'
