72 lines
2.2 KiB
YAML
72 lines
2.2 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2018-02-10 21:25:09 +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: 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: 1225
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
# URISchemes: http, https
|
|
Metrics/LineLength:
|
|
Max: 248
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Performance/RedundantMatch:
|
|
Exclude:
|
|
- 'app/controllers/valuation/budget_investments_controller.rb'
|
|
- 'app/controllers/valuation/spending_proposals_controller.rb'
|
|
|
|
# Offense count: 11
|
|
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/map_location_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: 6
|
|
RSpec/ExpectActual:
|
|
Exclude:
|
|
- 'spec/routing/**/*'
|
|
- 'spec/features/admin/budget_investments_spec.rb'
|
|
|
|
# Offense count: 830
|
|
# Configuration parameters: AssignmentOnly.
|
|
RSpec/InstanceVariable:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: IgnoreSymbolicNames.
|
|
RSpec/VerifiedDoubles:
|
|
Exclude:
|
|
- 'spec/models/verification/management/email_spec.rb'
|