darthjee/mercy

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-05-07 17:55:11 +0000 using RuboCop version 0.58.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: 1
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 28

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

# Offense count: 111
RSpec/NamedSubject:
  Exclude:
    - 'spec/lib/arstotzka/type_cast_spec.rb'
    - 'spec/lib/mercy/report/error_spec.rb'
    - 'spec/lib/mercy/report/multiple_spec.rb'
    - 'spec/lib/mercy/report/range_spec.rb'
    - 'spec/lib/mercy/report_builder_spec.rb'
    - 'spec/lib/mercy/report_config_spec.rb'
    - 'spec/lib/mercy/report_spec.rb'
    - 'spec/lib/mercy/status_builder_spec.rb'
    - 'spec/lib/mercy/status_spec.rb'
    - 'spec/support/shared_examples/time_parser.rb'

# Offense count: 48
RSpec/NestedGroups:
  Max: 6

# Offense count: 14
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'lib/arstotzka/type_cast_ext.rb'
    - 'lib/mercy.rb'
    - 'lib/mercy/class_methods.rb'
    - 'lib/mercy/concern.rb'
    - 'lib/mercy/period_parser.rb'
    - 'lib/mercy/report.rb'
    - 'lib/mercy/report/active_record.rb'
    - 'lib/mercy/report/error.rb'
    - 'lib/mercy/report/multiple.rb'
    - 'lib/mercy/report/range.rb'
    - 'lib/mercy/report_builder.rb'
    - 'lib/mercy/report_config.rb'
    - 'lib/mercy/status.rb'
    - 'lib/mercy/status_builder.rb'
    - 'spec/dummy/**/*.rb'