openpolitics/groupthink

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-04-03 22:54:10 +0100 using RuboCop version 0.66.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: 10
Metrics/AbcSize:
  Exclude:
    - 'app/controllers/proposals_controller.rb'
    - 'app/controllers/users/omniauth_callbacks_controller.rb'
    - 'app/controllers/edit_controller.rb'
    - 'app/controllers/ideas_controller.rb'
    - 'lib/tasks/update.rake'

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Exclude:
    - 'app/controllers/edit_controller.rb'

# Offense count: 3
Metrics/CyclomaticComplexity:
  Exclude:
    - 'app/controllers/edit_controller.rb'

# Offense count: 13
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Exclude:
    - 'app/controllers/proposals_controller.rb'
    - 'app/controllers/users/omniauth_callbacks_controller.rb'
    - 'app/controllers/edit_controller.rb'
    - 'app/controllers/ideas_controller.rb'
    - 'lib/tasks/update.rake'

# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Exclude:
    - 'app/controllers/edit_controller.rb'

Style/DocumentationMethod:
  Exclude:
    - 'spec/**/*.rb'
    - 'app/mailers/proposals_mailer.rb'
    - 'app/presenters/proposal_presenter.rb'
    - 'app/models/ability.rb'
    - 'app/models/proposal.rb'
    - 'app/models/interaction.rb'
    - 'app/models/concerns/votable.rb'
    - 'app/models/concerns/github_pull_request.rb'
    - 'app/models/user.rb'
    - 'app/jobs/update_proposal_job.rb'
    - 'app/jobs/close_proposal_job.rb'
    - 'app/jobs/vote_counter_job.rb'
    - 'app/jobs/create_proposal_job.rb'
    - 'app/controllers/proposals_controller.rb'
    - 'app/controllers/users_controller.rb'
    - 'app/controllers/users/omniauth_callbacks_controller.rb'
    - 'app/controllers/edit_controller.rb'
    - 'app/controllers/ideas_controller.rb'
    - 'app/helpers/proposals_helper.rb'
    - 'app/helpers/application_helper.rb'
    - 'lib/tasks/update.rake'

Rails/OutputSafety:
  Exclude:
    - 'app/helpers/proposals_helper.rb'