-
Notifications
You must be signed in to change notification settings - Fork 12
/
.rubocop_todo.yml
84 lines (75 loc) · 2.6 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# 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:
- 'db/migrate/*.rb'
- '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'
- 'config/initializers/octokit.rb'
- 'lib/tasks/update.rake'
Style/Documentation:
Exclude:
- 'db/migrate/*.rb'
- 'config/application.rb'
Rails/OutputSafety:
Exclude:
- 'app/helpers/proposals_helper.rb'
RSpec/RSpec/VerifiedDoubleReference:
Exclude:
- 'spec/presenters/proposal_presenter_spec.rb'
- 'spec/models/proposal_spec.rb'
- 'spec/models/concerns/votable_spec.rb'