# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-01-06 19:20:18 +0100 using RuboCop version 0.52.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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 40
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/AlignHash:
  Exclude:
    - 'spec/controllers/legislation/annotations_controller_spec.rb'
    - 'spec/features/admin/banners_spec.rb'

# Offense count: 64
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
Layout/AlignParameters:
  Enabled: false

# Offense count: 11
# Cop supports --auto-correct.
Layout/ClosingParenthesisIndentation:
  Exclude:
    - 'spec/features/site_customization/custom_pages_spec.rb'
    - 'spec/models/legislation/annotation_spec.rb'
    - 'spec/rails_helper.rb'

# Offense count: 37
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Layout/DotPosition:
  Exclude:
    - 'app/controllers/admin/poll/officer_assignments_controller.rb'
    - 'app/controllers/admin/poll/polls_controller.rb'
    - 'app/controllers/admin/poll/recounts_controller.rb'
    - 'app/controllers/officing/residence_controller.rb'
    - 'app/controllers/officing/results_controller.rb'
    - 'app/models/poll/officer.rb'
    - 'app/models/tag_cloud.rb'
    - 'app/models/verification/management/managed_user.rb'
    - 'lib/merged_comment_tree.rb'

# Offense count: 8
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
  Exclude:
    - 'bin/rspec'
    - 'bin/spring'
    - 'spec/features/debates_spec.rb'
    - 'spec/features/proposal_ballots_spec.rb'
    - 'spec/features/proposals_spec.rb'
    - 'spec/mailers/devise_mailer_spec.rb'
    - 'spec/models/debate_spec.rb'
    - 'spec/models/proposal_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/EmptyLinesAroundMethodBody:
  Exclude:
    - 'lib/graph_ql/api_types_creator.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Layout/ExtraSpacing:
  Exclude:
    - 'spec/factories.rb'
    - 'spec/models/proposal_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Layout/FirstParameterIndentation:
  Exclude:
    - 'app/controllers/users_controller.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/IndentArray:
  EnforcedStyle: consistent

# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/IndentHash:
  Exclude:
    - 'spec/controllers/legislation/annotations_controller_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
  Exclude:
    - 'spec/factories.rb'
    - 'spec/models/legislation/draft_version_spec.rb'

# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: normal, rails
Layout/IndentationConsistency:
  Exclude:
    - 'spec/features/tracks_spec.rb'
    - 'spec/models/budget/investment_spec.rb'
    - 'spec/models/legislation/draft_version_spec.rb'
    - 'spec/models/proposal_spec.rb'

# Offense count: 59
# Cop supports --auto-correct.
# Configuration parameters: Width, IgnoredPatterns.
Layout/IndentationWidth:
  Enabled: false

# Offense count: 6
# Cop supports --auto-correct.
Layout/LeadingCommentSpace:
  Exclude:
    - 'Capfile'
    - 'app/controllers/budgets/ballot/lines_controller.rb'
    - 'spec/features/budgets/ballots_spec.rb'
    - 'spec/features/comments/poll_questions_spec.rb'
    - 'spec/support/common_actions.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineArrayBraceLayout:
  Exclude:
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'
    - 'app/helpers/search_helper.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineHashBraceLayout:
  Exclude:
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'
    - 'app/models/budget/investment.rb'
    - 'app/models/debate.rb'
    - 'app/models/proposal.rb'
    - 'app/models/spending_proposal.rb'

# Offense count: 17
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineMethodCallBraceLayout:
  Exclude:
    - 'app/controllers/legislation/annotations_controller.rb'
    - 'app/controllers/users_controller.rb'
    - 'app/models/comment.rb'
    - 'app/models/organization.rb'
    - 'app/models/user.rb'
    - 'spec/features/site_customization/custom_pages_spec.rb'
    - 'spec/models/legislation/annotation_spec.rb'
    - 'spec/rails_helper.rb'

# Offense count: 59
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented, indented_relative_to_receiver
Layout/MultilineMethodCallIndentation:
  Exclude:
    - 'app/controllers/admin/poll/officer_assignments_controller.rb'
    - 'app/controllers/admin/poll/polls_controller.rb'
    - 'app/controllers/admin/poll/recounts_controller.rb'
    - 'app/controllers/officing/residence_controller.rb'
    - 'app/controllers/officing/results_controller.rb'
    - 'app/models/poll/officer.rb'
    - 'app/models/tag_cloud.rb'
    - 'app/models/verification/management/managed_user.rb'
    - 'lib/merged_comment_tree.rb'
    - 'spec/models/comment_spec.rb'
    - 'spec/models/debate_spec.rb'
    - 'spec/models/proposal_spec.rb'
    - 'spec/models/user_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
  Exclude:
    - 'app/helpers/users_helper.rb'
    - 'app/helpers/valuation_helper.rb'
    - 'app/models/user.rb'
    - 'app/models/verification/letter.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/SpaceAfterColon:
  Exclude:
    - 'spec/features/admin/site_customization/pages_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Layout/SpaceBeforeFirstArg:
  Exclude:
    - 'spec/factories.rb'

# Offense count: 33
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideArrayLiteralBrackets:
  Exclude:
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'
    - 'app/helpers/admin_helper.rb'
    - 'app/helpers/budgets_helper.rb'
    - 'app/helpers/geozones_helper.rb'
    - 'app/helpers/proposals_helper.rb'
    - 'app/helpers/valuation_helper.rb'
    - 'app/models/budget/investment.rb'
    - 'app/models/budget/investment/milestone.rb'
    - 'app/models/legislation/process.rb'
    - 'app/models/legislation/proposal.rb'
    - 'app/models/poll/question/answer.rb'
    - 'app/models/proposal.rb'
    - 'spec/factories.rb'
    - 'spec/lib/graphql_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Layout/SpaceInsideRangeLiteral:
  Exclude:
    - 'app/models/legislation/annotation.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceInsideReferenceBrackets:
  Exclude:
    - 'app/helpers/settings_helper.rb'

# Offense count: 39
Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'spec/controllers/comments_controller_spec.rb'
    - 'spec/controllers/debates_controller_spec.rb'
    - 'spec/controllers/legislation/annotations_controller_spec.rb'
    - 'spec/controllers/legislation/answers_controller_spec.rb'
    - 'spec/lib/cache_spec.rb'
    - 'spec/models/comment_spec.rb'
    - 'spec/models/debate_spec.rb'
    - 'spec/models/proposal_spec.rb'
    - 'spec/models/user_spec.rb'
    - 'spec/shared/models/map_validations.rb'

# Offense count: 3
Lint/DuplicateMethods:
  Exclude:
    - 'app/models/budget/result.rb'
    - 'lib/comment_tree.rb'
    - 'lib/email_digest.rb'

# Offense count: 2
Lint/HandleExceptions:
  Exclude:
    - 'app/controllers/legislation/annotations_controller.rb'
    - 'spec/lib/graphql_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: runtime_error, standard_error
Lint/InheritException:
  Exclude:
    - 'app/controllers/concerns/feature_flags.rb'

# Offense count: 1
Lint/LiteralAsCondition:
  Exclude:
    - 'app/models/budget/investment.rb'

# Offense count: 3
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation:
  Exclude:
    - 'app/models/poll/partial_result.rb'

# Offense count: 15
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
  Exclude:
    - 'app/controllers/admin/spending_proposals_controller.rb'
    - 'app/models/ahoy/data_source.rb'
    - 'lib/graph_ql/api_types_creator.rb'
    - 'lib/graph_ql/query_type_creator.rb'
    - 'spec/controllers/concerns/has_orders_spec.rb'
    - 'spec/factories.rb'
    - 'spec/spec_helper.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
  Exclude:
    - 'app/controllers/organizations/registrations_controller.rb'
    - 'app/controllers/users/registrations_controller.rb'
    - 'app/mailers/mailer.rb'
    - 'app/models/abilities/everyone.rb'

# Offense count: 335
Lint/UselessAssignment:
  Enabled: false

# Offense count: 2
Lint/Void:
  Exclude:
    - 'app/controllers/polls_controller.rb'
    - 'app/models/setting.rb'

# Offense count: 86
Metrics/AbcSize:
  Max: 77

# Offense count: 513
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
  Max: 1242

# Offense count: 11
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 266

# Offense count: 13
Metrics/CyclomaticComplexity:
  Max: 10

# Offense count: 25
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
  Max: 248

# Offense count: 71
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 68

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
  Max: 273

# Offense count: 3
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 7

# Offense count: 8
Metrics/PerceivedComplexity:
  Max: 11

# Offense count: 10
Naming/AccessorMethodName:
  Exclude:
    - 'app/controllers/application_controller.rb'
    - 'app/controllers/concerns/commentable_actions.rb'
    - 'app/controllers/management/proposals_controller.rb'
    - 'app/controllers/management/spending_proposals_controller.rb'
    - 'app/controllers/proposals_controller.rb'
    - 'lib/merged_comment_tree.rb'

# Offense count: 2
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
  Exclude:
    - 'Capfile'
    - 'Gemfile'

# Offense count: 10
# 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/**/*'
    - 'app/controllers/concerns/has_filters.rb'
    - 'app/controllers/concerns/has_orders.rb'
    - 'app/helpers/banners_helper.rb'
    - 'app/helpers/debates_helper.rb'
    - 'app/models/budget/ballot.rb'
    - 'app/models/user.rb'

# Offense count: 95
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, normalcase, non_integer
Naming/VariableNumber:
  Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect.
Performance/HashEachMethods:
  Exclude:
    - 'app/models/ahoy/data_source.rb'

# Offense count: 6
# Cop supports --auto-correct.
Performance/RedundantMatch:
  Exclude:
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'
    - 'app/helpers/embed_videos_helper.rb'

# Offense count: 18
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/FindBy:
  Exclude:
    - 'app/models/budget/ballot.rb'
    - 'app/models/concerns/relationable.rb'
    - 'app/models/geozone.rb'
    - 'app/models/legislation/question.rb'
    - 'app/models/officing/residence.rb'
    - 'app/models/poll/booth.rb'
    - 'app/models/poll/voter.rb'
    - 'app/models/setting.rb'
    - 'app/models/signature.rb'
    - 'app/models/user.rb'
    - 'app/models/verification/email.rb'
    - 'app/models/verification/management/email.rb'
    - 'app/models/verification/residence.rb'

# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasAndBelongsToMany:
  Exclude:
    - 'app/models/poll.rb'

# Offense count: 52
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
  Enabled: false

# Offense count: 37
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: spec/**/*, test/**/*
Rails/HttpPositionalArguments:
  Exclude:
    - 'spec/controllers/admin/api/stats_controller_spec.rb'
    - 'spec/controllers/concerns/has_filters_spec.rb'
    - 'spec/controllers/concerns/has_orders_spec.rb'
    - 'spec/controllers/debates_controller_spec.rb'
    - 'spec/controllers/graphql_controller_spec.rb'
    - 'spec/controllers/legislation/annotations_controller_spec.rb'
    - 'spec/controllers/legislation/answers_controller_spec.rb'
    - 'spec/controllers/management/sessions_controller_spec.rb'
    - 'spec/controllers/pages_controller_spec.rb'
    - 'spec/controllers/users/registrations_controller_spec.rb'

# Offense count: 71
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
  Enabled: false

# Offense count: 28
# Configuration parameters: Include.
# Include: app/controllers/**/*.rb
Rails/LexicallyScopedActionFilter:
  Exclude:
    - 'app/controllers/admin/banners_controller.rb'
    - 'app/controllers/admin/poll/officer_assignments_controller.rb'
    - 'app/controllers/admin/poll/polls_controller.rb'
    - 'app/controllers/admin/tags_controller.rb'
    - 'app/controllers/concerns/search.rb'
    - 'app/controllers/debates_controller.rb'
    - 'app/controllers/legislation/proposals_controller.rb'
    - 'app/controllers/management/proposals_controller.rb'
    - 'app/controllers/moderation/comments_controller.rb'
    - 'app/controllers/moderation/debates_controller.rb'
    - 'app/controllers/moderation/proposals_controller.rb'
    - 'app/controllers/proposals_controller.rb'
    - 'app/controllers/users/registrations_controller.rb'
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'

# Offense count: 19
Rails/OutputSafety:
  Exclude:
    - 'app/controllers/admin/legislation/draft_versions_controller.rb'
    - 'app/controllers/admin/legislation/processes_controller.rb'
    - 'app/controllers/admin/legislation/questions_controller.rb'
    - 'app/controllers/budgets/investments_controller.rb'
    - 'app/controllers/direct_uploads_controller.rb'
    - 'app/controllers/spending_proposals_controller.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/documents_helper.rb'
    - 'app/helpers/text_with_links_helper.rb'
    - 'app/helpers/valuation_helper.rb'

# Offense count: 7
# Cop supports --auto-correct.
Rails/Presence:
  Exclude:
    - 'app/controllers/concerns/commentable_actions.rb'
    - 'app/controllers/users/sessions_controller.rb'
    - 'app/helpers/welcome_helper.rb'
    - 'app/models/legislation/proposal.rb'
    - 'app/models/proposal.rb'
    - 'app/models/valuator.rb'

# Offense count: 72
# Configuration parameters: Blacklist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
  Enabled: false

# Offense count: 4
# Configuration parameters: Environments.
# Environments: development, test, production
Rails/UnknownEnv:
  Exclude:
    - 'lib/census_api.rb'
    - 'lib/sms_api.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
  Exclude:
    - 'app/models/concerns/searchable.rb'
    - 'spec/features/budgets/investments_spec.rb'
    - 'spec/features/proposals_spec.rb'

# Offense count: 126
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Enabled: false

# Offense count: 5
Style/ClassVars:
  Exclude:
    - 'app/models/concerns/measurable.rb'
    - 'app/models/organization.rb'
    - 'app/models/user.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
  Exclude:
    - 'app/controllers/admin/poll/booth_assignments_controller.rb'
    - 'app/controllers/admin/poll/questions_controller.rb'
    - 'app/controllers/comments_controller.rb'
    - 'app/controllers/management/spending_proposals_controller.rb'
    - 'app/controllers/spending_proposals_controller.rb'
    - 'app/controllers/verification/sms_controller.rb'
    - 'lib/graph_ql/api_types_creator.rb'

# Offense count: 19
Style/DateTime:
  Exclude:
    - 'app/models/user.rb'
    - 'spec/controllers/admin/api/stats_controller_spec.rb'
    - 'spec/factories.rb'
    - 'spec/features/admin/banners_spec.rb'
    - 'spec/models/ahoy/data_source_spec.rb'

# Offense count: 1
Style/DoubleNegation:
  Exclude:
    - 'app/models/flag.rb'

# Offense count: 6
# Cop supports --auto-correct.
Style/Encoding:
  Exclude:
    - 'spec/features/debates_spec.rb'
    - 'spec/features/proposal_ballots_spec.rb'
    - 'spec/features/proposals_spec.rb'
    - 'spec/mailers/devise_mailer_spec.rb'
    - 'spec/models/debate_spec.rb'
    - 'spec/models/proposal_spec.rb'

# Offense count: 61
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Enabled: false

# Offense count: 49
# Cop supports --auto-correct.
Style/IfUnlessModifier:
  Enabled: false

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: line_count_dependent, lambda, literal
Style/Lambda:
  Exclude:
    - 'app/models/comment.rb'
    - 'app/models/concerns/followable.rb'
    - 'app/models/direct_message.rb'
    - 'lib/graph_ql/api_types_creator.rb'

# Offense count: 10
Style/MixinUsage:
  Exclude:
    - 'lib/census_api.rb'
    - 'lib/local_census.rb'
    - 'spec/features/comments/budget_investments_spec.rb'
    - 'spec/features/comments/debates_spec.rb'
    - 'spec/features/comments/legislation_annotations_spec.rb'
    - 'spec/features/comments/legislation_questions_spec.rb'
    - 'spec/features/comments/polls_spec.rb'
    - 'spec/features/comments/proposals_spec.rb'
    - 'spec/features/comments/topics_spec.rb'
    - 'spec/rails_helper.rb'

# Offense count: 1
Style/MultilineBlockChain:
  Exclude:
    - 'app/controllers/valuation/spending_proposals_controller.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/MultilineIfThen:
  Exclude:
    - 'app/controllers/management/users_controller.rb'

# Offense count: 13
# Cop supports --auto-correct.
Style/MutableConstant:
  Exclude:
    - 'app/models/activity.rb'
    - 'app/models/budget/reclassified_vote.rb'
    - 'app/models/legislation/draft_version.rb'
    - 'app/models/poll/partial_result.rb'
    - 'app/models/proposal.rb'
    - 'app/models/signature_sheet.rb'
    - 'app/models/site_customization/content_block.rb'
    - 'app/models/site_customization/image.rb'
    - 'app/models/site_customization/page.rb'
    - 'lib/graph_ql/api_types_creator.rb'
    - 'lib/tag_sanitizer.rb'
    - 'lib/wysiwyg_sanitizer.rb'

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

# Offense count: 20
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'spec/**/*'
    - 'app/controllers/users_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'
    - 'app/helpers/banners_helper.rb'
    - 'app/helpers/debates_helper.rb'
    - 'app/helpers/votes_helper.rb'
    - 'app/models/budget/ballot.rb'
    - 'app/models/concerns/conflictable.rb'
    - 'app/models/concerns/taggable.rb'
    - 'app/models/debate.rb'
    - 'app/models/lock.rb'
    - 'app/models/user.rb'
    - 'app/models/verification/management/email.rb'
    - 'lib/score_calculator.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/ParallelAssignment:
  Exclude:
    - 'lib/active_model/dates.rb'
    - 'spec/support/common_actions.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
  Exclude:
    - 'app/controllers/management/base_controller.rb'
    - 'app/controllers/users/omniauth_callbacks_controller.rb'
    - 'app/controllers/valuation/budget_investments_controller.rb'
    - 'app/controllers/valuation/spending_proposals_controller.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/RedundantBegin:
  Exclude:
    - 'app/controllers/graphql_controller.rb'
    - 'app/models/legislation/annotation.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
  Exclude:
    - 'app/controllers/related_contents_controller.rb'
    - 'app/helpers/embed_videos_helper.rb'
    - 'app/models/poll/question/answer/video.rb'
    - 'spec/customization_engine_spec.rb'

# Offense count: 6
# Cop supports --auto-correct.
Style/RescueModifier:
  Exclude:
    - 'app/controllers/budgets/investments_controller.rb'
    - 'app/controllers/concerns/search.rb'
    - 'app/controllers/verification/sms_controller.rb'
    - 'app/models/concerns/measurable.rb'

# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
  Exclude:
    - 'app/controllers/graphql_controller.rb'
    - 'app/controllers/related_contents_controller.rb'
    - 'app/helpers/locales_helper.rb'
    - 'app/models/legislation/annotation.rb'
    - 'lib/local_census.rb'
    - 'lib/manager_authenticator.rb'
    - 'lib/tasks/emails.rake'
    - 'spec/shared/features/nested_documentable.rb'
    - 'spec/shared/features/nested_imageable.rb'

# Offense count: 15
# Cop supports --auto-correct.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil.
Style/SafeNavigation:
  Exclude:
    - 'app/controllers/legislation/draft_versions_controller.rb'
    - 'app/controllers/sandbox_controller.rb'
    - 'app/controllers/verification/letter_controller.rb'
    - 'app/helpers/users_helper.rb'
    - 'app/models/concerns/galleryable.rb'
    - 'app/models/concerns/imageable.rb'
    - 'app/models/legislation/proposal.rb'
    - 'app/models/proposal.rb'
    - 'app/models/signature.rb'
    - 'app/models/user.rb'

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

# Offense count: 10
RSpec/DescribeClass:
  Exclude:
    - 'spec/customization_engine_spec.rb'
    - 'spec/i18n_spec.rb'
    - 'spec/lib/acts_as_paranoid_aliases_spec.rb'
    - 'spec/lib/cache_spec.rb'
    - 'spec/lib/graphql_spec.rb'
    - 'spec/lib/tasks/communities_spec.rb'
    - 'spec/lib/tasks/dev_seed_spec.rb'
    - 'spec/lib/tasks/settings_spec.rb'
    - 'spec/models/abilities/organization_spec.rb'
    - 'spec/views/welcome/index.html.erb_spec.rb'

# Offense count: 2
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
  Exclude:
    - 'spec/controllers/concerns/has_filters_spec.rb'
    - 'spec/controllers/concerns/has_orders_spec.rb'

# Offense count: 1
# Configuration parameters: IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
  Exclude:
    - 'spec/models/verification/management/email_spec.rb'