bbatsov/rubocop

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-30 21:43:14 UTC using RuboCop version 1.25.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: 101
InternalAffairs/NodeDestructuring:
  Enabled: false

# Offense count: 55
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
  Max: 192

# Offense count: 235
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
  Max: 14

# Offense count: 8
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
  Max: 138

# Offense count: 9
RSpec/AnyInstance:
  Exclude:
    - 'spec/rubocop/cli_spec.rb'
    - 'spec/rubocop/cli/suggest_extensions_spec.rb'
    - 'spec/rubocop/cop/lint/duplicate_methods_spec.rb'
    - 'spec/rubocop/cop/team_spec.rb'
    - 'spec/rubocop/target_finder_spec.rb'

# Offense count: 1279
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
  Enabled: false

# Offense count: 2414
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
  Enabled: false

# Offense count: 39
RSpec/ExpectOutput:
  Exclude:
    - 'spec/rubocop/cli/auto_gen_config_spec.rb'
    - 'spec/rubocop/cli/options_spec.rb'
    - 'spec/rubocop/config_spec.rb'
    - 'spec/rubocop/cop/cop_spec.rb'
    - 'spec/rubocop/formatter/disabled_config_formatter_spec.rb'
    - 'spec/rubocop/formatter/formatter_set_spec.rb'
    - 'spec/rubocop/options_spec.rb'
    - 'spec/rubocop/rake_task_spec.rb'
    - 'spec/rubocop/result_cache_spec.rb'
    - 'spec/rubocop/target_finder_spec.rb'

# Offense count: 404
RSpec/MultipleExpectations:
  Max: 25

# Offense count: 9
RSpec/SubjectStub:
  Exclude:
    - 'spec/rubocop/config_spec.rb'
    - 'spec/rubocop/formatter/json_formatter_spec.rb'
    - 'spec/rubocop/formatter/pacman_formatter_spec.rb'
    - 'spec/rubocop/formatter/progress_formatter_spec.rb'

# Offense count: 12
Rake/MethodDefinitionInTask:
  Enabled: false