generated from dxw/rails-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
208 lines (184 loc) · 7.48 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# This configuration was generated by
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
# using RuboCop version 1.64.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: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods, AllowedPatterns.
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/models/exit_survey_response_spec.rb'
# Offense count: 16
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
Enabled: false
# Offense count: 8
# Configuration parameters: EnforcedStyle, AllowedPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
- 'lib/microsoft_graph/microsoft_graph.rb'
- 'spec/support/given_when_then.rb'
# Offense count: 16
RSpec/AnyInstance:
Exclude:
- 'spec/jobs/specify/warm_entry_cache_job_spec.rb'
- 'spec/requests/specify/authentication_spec.rb'
- 'spec/requests/specify/contentful_caching_spec.rb'
- 'spec/services/specify/create_task_spec.rb'
- 'spec/services/specify/get_answers_for_steps_spec.rb'
- 'spec/services/specify/save_answer_spec.rb'
- 'spec/support/shared/notify_email_templates.rb'
- 'spec/support/sign_in_helpers.rb'
# Offense count: 152
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Enabled: false
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: NegatedMatcher.
RSpec/ChangeByZero:
Exclude:
- 'spec/services/specify/create_task_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/controllers/support_agents_spec.rb'
# Offense count: 85
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
RSpec/IndexedLet:
Enabled: false
# Offense count: 9
RSpec/LetSetup:
Exclude:
- 'spec/jobs/support/send_exit_survey_job_spec.rb'
- 'spec/support/shared/duplicate_email_attachments.rb'
# Offense count: 5
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/jobs/specify/warm_entry_cache_job_spec.rb'
- 'spec/lib/specify/school/information_call_spec.rb'
- 'spec/lib/support/establishment_groups/information_call_spec.rb'
- 'spec/services/specify/specification_renderer_spec.rb'
# Offense count: 10
RSpec/PendingWithoutReason:
Exclude:
- 'spec/features/specify/support_requests/create_support_request_spec.rb'
- 'spec/features/specify/support_requests/edit_support_request_spec.rb'
- 'spec/integration/outlook_email_delivery_spec.rb'
- 'spec/models/user_journey_step_spec.rb'
- 'spec/services/specify/content/connector_instance_spec.rb'
- 'spec/services/specify/submit_support_request_spec.rb'
# Offense count: 13
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Exclude:
- 'spec/forms/support/management/email_template_filter_form_spec.rb'
- 'spec/helpers/support/filter_helper_spec.rb'
- 'spec/models/email/draft_spec.rb'
- 'spec/support/contentful_helpers.rb'
- 'spec/support/sign_in_helpers.rb'
# Offense count: 1
RSpec/RepeatedSubjectCall:
Exclude:
- 'spec/models/support/agent/notifyable_spec.rb'
# Offense count: 3
RSpec/SubjectStub:
Exclude:
- 'spec/forms/framework_requests/special_requirements_form_spec.rb'
# Offense count: 29
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: constant, string
RSpec/VerifiedDoubleReference:
Exclude:
- 'spec/lib/microsoft_graph/client_spec.rb'
- 'spec/presenters/self-serve/user_presenter_spec.rb'
- 'spec/services/support/create_case_spec.rb'
- 'spec/services/support/emails/to_school_spec.rb'
- 'spec/support/shared/notify_email_templates.rb'
# Offense count: 62
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Enabled: false
# Offense count: 18
# Configuration parameters: Database, Include.
# SupportedDatabases: mysql, postgresql
# Include: db/**/*.rb
Rails/BulkChangeTable:
Exclude:
- 'db/migrate/20210118110545_change_options_to_jsonb.rb'
- 'db/migrate/20210906101533_add_missing_null_constraints_to_categories.rb'
- 'db/migrate/20211117133254_add_contentful_fields_to_page.rb'
- 'db/migrate/20211217092216_add_extra_outlook_fields_to_support_email.rb'
- 'db/migrate/20220112131559_add_is_inline_to_support_email_attachments.rb'
- 'db/migrate/20220225175814_change_framework_requests_to_combine_orgs.rb'
- 'db/migrate/20220310170158_change_closure_reason_to_enum.rb'
- 'db/migrate/20220505103423_add_replying_to_id_to_support_emails.rb'
- 'db/migrate/20220805130609_change_support_emails_in_reply_to_id.rb'
- 'db/migrate/20221014140003_add_more_trust_fields_to_support_organisations.rb'
- 'db/migrate/20230210133230_refactor_notifications_into_one_table.rb'
- 'db/migrate/20230919092926_update_lot_frameworks_framework.rb'
- 'db/migrate/20230919144709_add_reference_sequence_to_frameworks_framework.rb'
- 'db/migrate/20230929134307_make_support_email_polymorphic.rb'
# Offense count: 5
# Configuration parameters: Include.
# Include: app/controllers/**/*.rb, app/mailers/**/*.rb
Rails/LexicallyScopedActionFilter:
Exclude:
- 'app/controllers/all_cases_survey/satisfaction_reason_controller.rb'
- 'app/controllers/framework_requests/bill_uploads_controller.rb'
- 'app/controllers/framework_requests/document_uploads_controller.rb'
# Offense count: 1
# Configuration parameters: Database, Include.
# SupportedDatabases: mysql
# Include: db/**/*.rb
Rails/NotNullColumn:
Exclude:
- 'db/migrate/20210107122307_add_liquid_template_to_journey.rb'
# Offense count: 4
# Configuration parameters: Include.
# Include: db/**/*.rb
Rails/ReversibleMigration:
Exclude:
- 'db/migrate/20201112123028_remove_answer_table.rb'
- 'db/migrate/20210118110545_change_options_to_jsonb.rb'
- 'db/migrate/20210125171840_remove_next_entry_id.rb'
- 'db/migrate/20230919092926_update_lot_frameworks_framework.rb'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowImplicitReturn, AllowedReceivers.
Rails/SaveBang:
Exclude:
- 'app/controllers/customer_satisfaction_surveys/satisfaction_levels_controller.rb'
- 'app/controllers/exit_survey/satisfaction_controller.rb'
# Offense count: 7
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Exclude:
- 'lib/microsoft_graph/application_authenticator.rb'
- 'spec/lib/microsoft_graph/application_authenticator_spec.rb'
# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowCoercion.
Style/DateTime:
Exclude:
- 'lib/microsoft_graph/transformer/attachment.rb'
- 'lib/microsoft_graph/transformer/message.rb'
- 'lib/microsoft_graph/transformer/update_message.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowModifier.
Style/SoleNestedConditional:
Exclude:
- 'app/models/framework_request_flow.rb'