.rubocop_todo.yml 2.45 KB
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-10-12 21:53:36 +0200 using RuboCop version 0.34.2.
# 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: 37
Metrics/AbcSize:
  Max: 55

# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 206

# Offense count: 5
Metrics/CyclomaticComplexity:
  Max: 11

# Offense count: 457
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
  Max: 239

# Offense count: 29
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 41

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

# Offense count: 16
# Configuration parameters: Include.
Rails/Output:
  Exclude:
    - 'app/interactors/notice_refingerprinter.rb'
    - 'app/interactors/problem_recacher.rb'
    - 'db/seeds.rb'

# Offense count: 15
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
  Exclude:
    - 'app/controllers/api/v1/notices_controller.rb'
    - 'app/controllers/api/v1/problems_controller.rb'
    - 'app/controllers/api/v1/stats_controller.rb'
    - 'app/controllers/api/v3/notices_controller.rb'
    - 'app/controllers/users/omniauth_callbacks_controller.rb'
    - 'app/models/notification_services/campfire_service.rb'
    - 'app/models/notification_services/flowdock_service.rb'
    - 'app/models/notification_services/gtalk_service.rb'
    - 'app/models/notification_services/hipchat_service.rb'
    - 'app/models/notification_services/hoiio_service.rb'
    - 'app/models/notification_services/hubot_service.rb'
    - 'app/models/notification_services/pushover_service.rb'
    - 'app/models/notification_services/slack_service.rb'
    - 'app/models/notification_services/webhook_service.rb'
    - 'config/initializers/overrides.rb'

# Offense count: 70
# Configuration parameters: Exclude.
Style/Documentation:
  Enabled: false

# Offense count: 5
Style/EachWithObject:
  Exclude:
    - 'app/decorators/issue_tracker_type_decorator.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/models/notice.rb'
    - 'app/models/notice_fingerprinter.rb'
    - 'lib/recurse.rb'

# Offense count: 873
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiterals:
  Enabled: false