moneyadviceservice/dough

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-02-05 15:09:24 +0000 using RuboCop version 0.63.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: 8
Lint/ImplicitStringConcatenation:
  Exclude:
    - 'spec/lib/dough/helpers/form_row_spec.rb'

# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
  Exclude:
    - 'lib/dough/html_options.rb'

# Offense count: 8
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
  Exclude:
    - 'spec/lib/dough/forms/builders/validation_spec.rb'
    - 'spec/lib/dough/helpers/renderer_spec.rb'
    - 'spec/lib/dough/helpers/tab_selector_spec.rb'
    - 'spec/lib/dough/helpers_spec.rb'

# Offense count: 1
RSpec/DescribeClass:
  Exclude:
    - 'spec/requests/helpers_spec.rb'

# Offense count: 1
RSpec/ExpectInHook:
  Exclude:
    - 'spec/lib/dough/forms/object_error_spec.rb'

# Offense count: 2
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
  Exclude:
    - 'spec/lib/dough/helpers/form_row_spec.rb'

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

# Offense count: 1
RSpec/MultipleDescribes:
  Exclude:
    - 'spec/lib/dough/helpers/form_row_spec.rb'

# Offense count: 4
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
  Max: 3

# Offense count: 16
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
  Exclude:
    - 'spec/lib/dough/forms/builder_spec.rb'
    - 'spec/lib/dough/forms/builders/validation_spec.rb'
    - 'spec/lib/dough/helpers/form_row_spec.rb'
    - 'spec/lib/dough/helpers/tab_selector_spec.rb'
    - 'spec/lib/dough/helpers_spec.rb'
    - 'spec/lib/dough/html_options_spec.rb'

# Offense count: 4
RSpec/NestedGroups:
  Max: 4

# Offense count: 4
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
  Exclude:
    - 'spec/lib/dough/helpers_spec.rb'

# Offense count: 1
Rails/OutputSafety:
  Exclude:
    - 'lib/dough/helpers.rb'

# Offense count: 2
Style/MethodMissingSuper:
  Exclude:
    - 'lib/dough/helpers.rb'
    - 'lib/dough/html_options.rb'

# Offense count: 2
Style/MissingRespondToMissing:
  Exclude:
    - 'lib/dough/helpers.rb'
    - 'lib/dough/html_options.rb'

# Offense count: 3
# Configuration parameters: SuspiciousParamNames.
# SuspiciousParamNames: options, opts, args, params, parameters
Style/OptionHash:
  Exclude:
    - 'lib/dough/helpers/form_row.rb'
    - 'lib/dough/helpers/renderer.rb'
    - 'spec/lib/dough/helpers_spec.rb'

# Offense count: 1
Style/OptionalArguments:
  Exclude:
    - 'lib/dough/forms/builders/validation.rb'

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