kaspernj/html_gen

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-10-18 08:46:53 +0000 using RuboCop version 0.75.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: 4
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
  Exclude:
    - 'lib/html_gen/element.rb'
    - 'lib/html_gen/parser.rb'

# Offense count: 2
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'lib/html_gen/parser.rb'

# Offense count: 2
Lint/BooleanSymbol:
  Exclude:
    - 'lib/html_gen/parser.rb'

# Offense count: 1
Lint/UselessAssignment:
  Exclude:
    - 'lib/html_gen/element.rb'

# Offense count: 4
Metrics/AbcSize:
  Max: 91

# Offense count: 3
Metrics/CyclomaticComplexity:
  Max: 38

# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 77

# Offense count: 3
Metrics/PerceivedComplexity:
  Max: 45

# Offense count: 2
# Cop supports --auto-correct.
Performance/RegexpMatch:
  Exclude:
    - 'lib/html_gen/parser.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/Encoding:
  Exclude:
    - 'Rakefile'

# Offense count: 7
Style/IdenticalConditionalBranches:
  Exclude:
    - 'lib/html_gen/element.rb'
    - 'lib/html_gen/parser.rb'

# Offense count: 1
# Configuration parameters: AllowIfModifier.
Style/IfInsideElse:
  Exclude:
    - 'lib/html_gen/parser.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/IfUnlessModifier:
  Exclude:
    - 'lib/html_gen/element.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'spec/**/*'
    - 'lib/html_gen/element.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
  Exclude:
    - 'lib/html_gen/element.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/StderrPuts:
  Exclude:
    - 'Rakefile'