598 lines
18 KiB
YAML
598 lines
18 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2016-11-25 13:34:56 +0100 using RuboCop version 0.45.0.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: runtime_error, standard_error
|
|
Lint/InheritException:
|
|
Exclude:
|
|
- 'app/controllers/concerns/feature_flags.rb'
|
|
|
|
# Offense count: 13
|
|
Lint/ParenthesesAsGroupedExpression:
|
|
Exclude:
|
|
- 'spec/features/admin/organizations_spec.rb'
|
|
- 'spec/features/debates_spec.rb'
|
|
- 'spec/features/proposals_spec.rb'
|
|
- 'spec/models/debate_spec.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
Lint/UnusedBlockArgument:
|
|
Exclude:
|
|
- 'app/controllers/admin/spending_proposals_controller.rb'
|
|
- 'app/models/ahoy/data_source.rb'
|
|
- 'spec/spec_helper.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Exclude:
|
|
- 'app/controllers/organizations/registrations_controller.rb'
|
|
- 'app/controllers/users/omniauth_callbacks_controller.rb'
|
|
- 'app/controllers/users/registrations_controller.rb'
|
|
- 'app/models/abilities/everyone.rb'
|
|
- 'app/models/abilities/valuator.rb'
|
|
|
|
# Offense count: 135
|
|
Lint/UselessAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 41
|
|
Metrics/AbcSize:
|
|
Max: 44
|
|
|
|
# Offense count: 4
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ClassLength:
|
|
Max: 205
|
|
|
|
# Offense count: 5
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 8
|
|
|
|
# Offense count: 52
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
|
|
# URISchemes: http, https
|
|
Metrics/LineLength:
|
|
Max: 307
|
|
|
|
# Offense count: 28
|
|
# Configuration parameters: CountComments.
|
|
Metrics/MethodLength:
|
|
Max: 38
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ModuleLength:
|
|
Max: 193
|
|
|
|
# Offense count: 3
|
|
Metrics/PerceivedComplexity:
|
|
Max: 11
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Performance/RedundantMatch:
|
|
Exclude:
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
- 'app/helpers/embed_videos_helper.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Whitelist.
|
|
# Whitelist: find_by_sql
|
|
Rails/DynamicFindBy:
|
|
Exclude:
|
|
- 'app/controllers/users/confirmations_controller.rb'
|
|
- 'app/controllers/users/registrations_controller.rb'
|
|
- 'spec/features/management/users_spec.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Include.
|
|
# Include: app/models/**/*.rb
|
|
Rails/FindBy:
|
|
Exclude:
|
|
- 'app/models/setting.rb'
|
|
- 'app/models/verification/email.rb'
|
|
- 'app/models/verification/management/email.rb'
|
|
- 'app/models/verification/residence.rb'
|
|
|
|
# Offense count: 24
|
|
# 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/management/sessions_controller_spec.rb'
|
|
- 'spec/controllers/pages_controller_spec.rb'
|
|
- 'spec/controllers/users/registrations_controller_spec.rb'
|
|
|
|
# Offense count: 12
|
|
Rails/OutputSafety:
|
|
Exclude:
|
|
- 'app/controllers/spending_proposals_controller.rb'
|
|
- 'app/helpers/application_helper.rb'
|
|
- 'app/helpers/text_with_links_helper.rb'
|
|
- 'app/helpers/users_helper.rb'
|
|
- 'app/helpers/valuation_helper.rb'
|
|
|
|
# Offense count: 9
|
|
Style/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'
|
|
|
|
# Offense count: 30
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
|
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
|
Layout/AlignHash:
|
|
Exclude:
|
|
- 'spec/features/admin/banners_spec.rb'
|
|
|
|
# Offense count: 21
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
|
Layout/AlignParameters:
|
|
Exclude:
|
|
- 'app/helpers/search_helper.rb'
|
|
- 'app/models/verification/management/email.rb'
|
|
- 'bin/rspec'
|
|
- 'bin/spring'
|
|
- 'spec/features/admin/spending_proposals_spec.rb'
|
|
- 'spec/features/spending_proposals_spec.rb'
|
|
- 'spec/features/valuation/spending_proposals_spec.rb'
|
|
- 'spec/features/verification/verified_user_spec.rb'
|
|
- 'spec/i18n_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
- 'spec/rails_helper.rb'
|
|
|
|
# Offense count: 19
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: braces, no_braces, context_dependent
|
|
Style/BracesAroundHashParameters:
|
|
Exclude:
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
- 'app/models/concerns/searchable.rb'
|
|
- 'app/models/verification/residence.rb'
|
|
- 'lib/manager_authenticator.rb'
|
|
- 'spec/controllers/management/users_controller_spec.rb'
|
|
- 'spec/features/admin/spending_proposals_spec.rb'
|
|
- 'spec/lib/manager_authenticator_spec.rb'
|
|
- 'spec/models/residence_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 57
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# 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: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/ClosingParenthesisIndentation:
|
|
Exclude:
|
|
- 'spec/rails_helper.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
Style/ConditionalAssignment:
|
|
Exclude:
|
|
- 'app/controllers/comments_controller.rb'
|
|
- 'app/controllers/management/spending_proposals_controller.rb'
|
|
- 'app/controllers/spending_proposals_controller.rb'
|
|
- 'app/controllers/verification/sms_controller.rb'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: leading, trailing
|
|
Layout/DotPosition:
|
|
Exclude:
|
|
- 'app/models/banner.rb'
|
|
- 'app/models/tag_cloud.rb'
|
|
- 'app/models/verification/management/managed_user.rb'
|
|
|
|
# Offense count: 1
|
|
Style/DoubleNegation:
|
|
Exclude:
|
|
- 'app/models/flag.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/EmptyCaseCondition:
|
|
Exclude:
|
|
- 'app/models/concerns/verification.rb'
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
Layout/EmptyLines:
|
|
Exclude:
|
|
- 'app/models/concerns/search_cache.rb'
|
|
- 'app/models/notification.rb'
|
|
- 'spec/features/admin/spending_proposals_spec.rb'
|
|
- 'spec/features/admin/verifications_spec.rb'
|
|
- 'spec/features/debates_spec.rb'
|
|
- 'spec/features/registration_form_spec.rb'
|
|
- 'spec/features/users_auth_spec.rb'
|
|
- 'spec/features/verification/verified_user_spec.rb'
|
|
- 'spec/support/verifiable.rb'
|
|
|
|
# Offense count: 29
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
|
Layout/ExtraSpacing:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, 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: 32
|
|
# Configuration parameters: MinBodyLength.
|
|
Style/GuardClause:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
|
Style/HashSyntax:
|
|
Exclude:
|
|
- 'lib/sms_api.rb'
|
|
- 'spec/factories.rb'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MaxLineLength.
|
|
Style/IfUnlessModifier:
|
|
Exclude:
|
|
- 'app/controllers/annotations_controller.rb'
|
|
- 'app/controllers/verification/letter_controller.rb'
|
|
- 'app/controllers/welcome_controller.rb'
|
|
- 'app/helpers/embed_videos_helper.rb'
|
|
- 'app/models/proposal.rb'
|
|
- 'app/models/spending_proposal.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
Layout/IndentArray:
|
|
EnforcedStyle: consistent
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
Layout/IndentHash:
|
|
EnforcedStyle: consistent
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: normal, rails
|
|
Layout/IndentationConsistency:
|
|
Exclude:
|
|
- 'spec/features/tracks_spec.rb'
|
|
- 'spec/models/proposal_spec.rb'
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Width.
|
|
Layout/IndentationWidth:
|
|
Exclude:
|
|
- 'app/controllers/annotations_controller.rb'
|
|
- 'app/helpers/flags_helper.rb'
|
|
- 'app/mailers/devise_mailer.rb'
|
|
- 'app/mailers/mailer.rb'
|
|
- 'app/models/ahoy/data_source.rb'
|
|
- 'app/models/comment_notifier.rb'
|
|
- 'app/models/concerns/search_cache.rb'
|
|
- 'spec/features/comments/proposals_spec.rb'
|
|
- 'spec/features/moderation/users_spec.rb'
|
|
- 'spec/features/tracks_spec.rb'
|
|
- 'spec/features/verification/verified_user_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: line_count_dependent, lambda, literal
|
|
Style/Lambda:
|
|
Exclude:
|
|
- 'app/models/banner.rb'
|
|
- 'app/models/direct_message.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/MethodCallWithoutArgsParentheses:
|
|
Exclude:
|
|
- 'app/controllers/management/document_verifications_controller.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
|
Style/MethodDefParentheses:
|
|
Exclude:
|
|
- 'spec/helpers/comments_helper_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineArrayBraceLayout:
|
|
Exclude:
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
- 'app/helpers/search_helper.rb'
|
|
|
|
# Offense count: 1
|
|
Style/MultilineBlockChain:
|
|
Exclude:
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Layout/MultilineBlockLayout:
|
|
Exclude:
|
|
- 'app/models/banner.rb'
|
|
- 'spec/features/users_auth_spec.rb'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineHashBraceLayout:
|
|
Exclude:
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
- 'app/models/debate.rb'
|
|
- 'app/models/proposal.rb'
|
|
- 'app/models/spending_proposal.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/MultilineIfThen:
|
|
Exclude:
|
|
- 'app/controllers/management/users_controller.rb'
|
|
- 'lib/census_api.rb'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineMethodCallBraceLayout:
|
|
Exclude:
|
|
- 'app/controllers/users_controller.rb'
|
|
- 'app/models/comment.rb'
|
|
- 'app/models/organization.rb'
|
|
- 'app/models/user.rb'
|
|
- 'spec/rails_helper.rb'
|
|
|
|
# Offense count: 33
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
Layout/MultilineMethodCallIndentation:
|
|
Exclude:
|
|
- 'app/models/banner.rb'
|
|
- 'app/models/tag_cloud.rb'
|
|
- 'app/models/verification/management/managed_user.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, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: aligned, indented
|
|
Layout/MultilineOperationIndentation:
|
|
Exclude:
|
|
- 'app/helpers/users_helper.rb'
|
|
- 'app/helpers/valuation_helper.rb'
|
|
- 'app/models/verification/letter.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
Style/MutableConstant:
|
|
Exclude:
|
|
- 'app/models/activity.rb'
|
|
- 'app/models/proposal.rb'
|
|
- 'lib/tag_sanitizer.rb'
|
|
- 'lib/wysiwyg_sanitizer.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/NegatedIf:
|
|
Exclude:
|
|
- 'spec/spec_helper.rb'
|
|
|
|
# Offense count: 17
|
|
# Cop supports --auto-correct.
|
|
Style/NestedParenthesizedCalls:
|
|
Exclude:
|
|
- 'spec/features/debates_spec.rb'
|
|
- 'spec/features/valuation/spending_proposals_spec.rb'
|
|
- 'spec/helpers/settings_helper_spec.rb'
|
|
- 'spec/helpers/verification_helper_spec.rb'
|
|
|
|
# Offense count: 12
|
|
# Cop supports --auto-correct.
|
|
Style/NumericLiterals:
|
|
MinDigits: 9
|
|
|
|
# Offense count: 19
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
|
|
# 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/concerns/conflictable.rb'
|
|
- 'app/models/concerns/taggable.rb'
|
|
- 'app/models/concerns/verification.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: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Style/ParenthesesAroundCondition:
|
|
Exclude:
|
|
- 'app/controllers/proposals_controller.rb'
|
|
- 'app/models/debate.rb'
|
|
- 'app/models/proposal.rb'
|
|
|
|
# Offense count: 6
|
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
# NamePrefix: is_, has_, have_
|
|
# NamePrefixBlacklist: is_, has_, have_
|
|
# NameWhitelist: is_a?
|
|
Style/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/user.rb'
|
|
- 'lib/census_api.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: compact, exploded
|
|
Style/RaiseArgs:
|
|
Exclude:
|
|
- 'app/controllers/management/base_controller.rb'
|
|
- 'app/controllers/users/omniauth_callbacks_controller.rb'
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
|
|
# Offense count: 16
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantParentheses:
|
|
Exclude:
|
|
- 'app/controllers/admin/settings_controller.rb'
|
|
- 'app/helpers/proposals_helper.rb'
|
|
- 'spec/features/admin/organizations_spec.rb'
|
|
- 'spec/features/debates_spec.rb'
|
|
- 'spec/features/proposals_spec.rb'
|
|
- 'spec/models/debate_spec.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
Style/RedundantReturn:
|
|
Exclude:
|
|
- 'app/models/ahoy/data_source.rb'
|
|
- 'app/models/verification/management/document.rb'
|
|
- 'lib/capistrano/template.rb'
|
|
- 'lib/census_api.rb'
|
|
|
|
# Offense count: 49
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantSelf:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
Style/RegexpLiteral:
|
|
Exclude:
|
|
- 'app/helpers/embed_videos_helper.rb'
|
|
- 'spec/customization_engine_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/RescueModifier:
|
|
Exclude:
|
|
- 'app/controllers/concerns/commentable_actions.rb'
|
|
- 'app/controllers/verification/sms_controller.rb'
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoredMethods.
|
|
# IgnoredMethods: respond_to, define_method
|
|
Style/SymbolProc:
|
|
Exclude:
|
|
- 'app/controllers/admin/settings_controller.rb'
|
|
- 'app/controllers/notifications_controller.rb'
|
|
- 'app/controllers/organizations/registrations_controller.rb'
|
|
- 'lib/manager_authenticator.rb'
|
|
- 'spec/factories.rb'
|
|
|
|
# Offense count: 31
|
|
# Cop supports --auto-correct.
|
|
Style/UnneededInterpolation:
|
|
Exclude:
|
|
- 'app/controllers/users/omniauth_callbacks_controller.rb'
|
|
- 'spec/factories.rb'
|
|
- 'spec/features/campaigns_spec.rb'
|
|
- 'spec/features/management/managed_users_spec.rb'
|
|
- 'spec/features/management/proposals_spec.rb'
|
|
- 'spec/features/management/spending_proposals_spec.rb'
|
|
- 'spec/models/residence_spec.rb'
|
|
- 'spec/models/spending_proposal_spec.rb'
|
|
|
|
# Offense count: 13
|
|
# Configuration parameters: SupportedStyles.
|
|
# SupportedStyles: snake_case, normalcase, non_integer
|
|
Style/VariableNumber:
|
|
EnforcedStyle: normalcase
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles, WordRegex.
|
|
# SupportedStyles: percent, brackets
|
|
Style/WordArray:
|
|
EnforcedStyle: percent
|
|
MinSize: 3
|