-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
141 lines (123 loc) · 4.71 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-12-20 16:43:16 UTC using RuboCop version 1.41.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: 2
Capybara/VisibilityMatcher:
Exclude:
- 'spec/integration/admin/manage_submissions_spec.rb'
# Offense count: 17
Lint/MissingSuper:
Enabled: false
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 10
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 10
# Offense count: 80
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Enabled: false
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/services/committee_member_data_service_spec.rb'
# Offense count: 217
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 25
# Offense count: 44
RSpec/RepeatedExampleGroupBody:
Enabled: false
# Offense count: 42
RSpec/RepeatedExampleGroupDescription:
Enabled: false
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ApplicationMailer:
Exclude:
- 'app/mailers/workflow_mailer.rb'
# Offense count: 25
# Configuration parameters: EnforcedStyle, AllowToTime.
# SupportedStyles: strict, flexible
Rails/Date:
Exclude:
- 'app/models/approval_configuration.rb'
- 'app/models/committee_member_token.rb'
- 'app/models/semester_release_report_email.rb'
- 'spec/controllers/admin/submissions_controller_spec.rb'
- 'spec/factories/committee_member_tokens.rb'
- 'spec/mailers/workflow_mailer_spec.rb'
- 'spec/models/approval_status_spec.rb'
- 'spec/models/committee_member_token_spec.rb'
- 'spec/models/semester_release_report_email_spec.rb'
- 'spec/models/solr_submission_spec.rb'
- 'spec/models/submission_spec.rb'
# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Exclude:
- 'app/models/lionpath/lionpath_csv_importer.rb'
- 'app/models/solr_log.rb'
- 'spec/models/lionpath/lionpath_csv_importer_spec.rb'
- 'spec/support/file_utility_helper.rb'
# Offense count: 7
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/committee_role.rb'
- 'app/models/degree.rb'
- 'app/models/degree_type.rb'
- 'app/models/faculty_member.rb'
- 'app/models/program.rb'
# Offense count: 3
# Configuration parameters: Include.
# Include: app/helpers/**/*.rb
Rails/HelperInstanceVariable:
Exclude:
- 'app/helpers/application_helper.rb'
# Offense count: 34
Rails/OutputSafety:
Exclude:
- 'app/controllers/author/committee_members_controller.rb'
- 'app/controllers/author/submissions_controller.rb'
- 'app/controllers/email_contact_form_controller.rb'
- 'app/models/email_contact_form.rb'
- 'app/presenters/admin/author_view.rb'
- 'app/presenters/admin/submission_form_view.rb'
- 'app/presenters/admin/submission_view.rb'
- 'app/presenters/author/committee_member_view.rb'
- 'app/presenters/author/submission_view.rb'
- 'app/views/admin/submissions/table_bodies/_final_submission_incomplete.json.jbuilder'
- 'app/views/admin/submissions/table_bodies/_format_review_completed.json.jbuilder'
- 'app/views/admin/submissions/table_bodies/_format_review_incomplete.json.jbuilder'
# Offense count: 45
# Configuration parameters: ForbiddenMethods, AllowedMethods.
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
Rails/SkipsModelValidations:
Enabled: false
# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
Exclude:
- 'app/models/author.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
- 'spec/integration/committee_member_dashboard_spec.rb'