-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop_todo.yml
278 lines (247 loc) · 7.89 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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 99999`
# on 2024-04-05 18:41:42 UTC using RuboCop version 1.62.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: 13
Betterment/ActiveJobPerformable:
Exclude:
- 'lib/delayed/performable_mailer.rb'
- 'lib/delayed/performable_method.rb'
- 'spec/autoloaded/clazz.rb'
- 'spec/autoloaded/instance_clazz.rb'
- 'spec/autoloaded/instance_struct.rb'
- 'spec/autoloaded/struct.rb'
- 'spec/sample_jobs.rb'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/OrderedGems:
Exclude:
- 'gemfiles/rails_main.gemfile'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/DeprecatedAttributeAssignment:
Exclude:
- 'delayed.gemspec'
# Offense count: 2
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/message_sending_spec.rb'
# Offense count: 1
# Configuration parameters: DebuggerMethods.
Lint/Debugger:
Exclude:
- 'spec/helper.rb'
# Offense count: 2
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
Exclude:
- 'lib/delayed/message_sending.rb'
- 'spec/sample_jobs.rb'
# Offense count: 1
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'spec/helper.rb'
# Offense count: 1
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
- 'lib/delayed/backend/base.rb'
# Offense count: 4
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
Metrics/AbcSize:
Exclude:
- 'lib/delayed/message_sending.rb'
- 'lib/delayed/psych_ext.rb'
- 'lib/delayed/worker.rb'
# Offense count: 1
RSpec/AnyInstance:
Exclude:
- 'spec/delayed/job_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: be_a, be_kind_of
RSpec/ClassCheck:
Exclude:
- 'spec/yaml_ext_spec.rb'
# Offense count: 2
RSpec/ExpectInHook:
Exclude:
- 'spec/delayed/job_spec.rb'
# Offense count: 91
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/delayed/job_spec.rb'
- 'spec/performable_method_spec.rb'
- 'spec/worker_spec.rb'
# Offense count: 2
RSpec/LeakyConstantDeclaration:
Exclude:
- 'spec/message_sending_spec.rb'
# Offense count: 18
RSpec/StubbedMock:
Exclude:
- 'spec/delayed/job_spec.rb'
- 'spec/performable_method_spec.rb'
- 'spec/worker_spec.rb'
# Offense count: 5
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/lifecycle_spec.rb'
- 'spec/performable_mailer_spec.rb'
- 'spec/performable_method_spec.rb'
- 'spec/worker_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ActiveSupportOnLoad:
Exclude:
- 'lib/delayed.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ApplicationMailer:
Exclude:
- 'spec/performable_mailer_spec.rb'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
# Include: **/Rakefile, **/*.rake
Rails/RakeEnvironment:
Exclude:
- 'Rakefile'
# Offense count: 3
# 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:
Exclude:
- 'app/models/delayed/job.rb'
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
Rails/StripHeredoc:
Exclude:
- 'spec/psych_ext_spec.rb'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Exclude:
- 'lib/delayed/worker.rb'
- 'spec/worker_spec.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Rake/Desc:
Exclude:
- 'Rakefile'
# Offense count: 1
Rake/DuplicateTask:
Exclude:
- 'Rakefile'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Security/YAMLLoad:
Exclude:
- 'spec/helper.rb'
- 'spec/yaml_ext_spec.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedVars.
Style/FetchEnvVar:
Exclude:
- 'spec/helper.rb'
# Offense count: 58
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'Appraisals'
- 'Rakefile'
- 'app/models/delayed/job.rb'
- 'delayed.gemspec'
- 'gemfiles/rails_5_2.gemfile'
- 'gemfiles/rails_6_0.gemfile'
- 'gemfiles/rails_6_1.gemfile'
- 'gemfiles/rails_7_0.gemfile'
- 'gemfiles/rails_7_1.gemfile'
- 'gemfiles/rails_7_2.gemfile'
- 'gemfiles/rails_main.gemfile'
- 'lib/delayed.rb'
- 'lib/delayed/active_job_adapter.rb'
- 'lib/delayed/backend/base.rb'
- 'lib/delayed/backend/job_preparer.rb'
- 'lib/delayed/engine.rb'
- 'lib/delayed/exceptions.rb'
- 'lib/delayed/job_wrapper.rb'
- 'lib/delayed/lifecycle.rb'
- 'lib/delayed/message_sending.rb'
- 'lib/delayed/monitor.rb'
- 'lib/delayed/performable_mailer.rb'
- 'lib/delayed/performable_method.rb'
- 'lib/delayed/plugin.rb'
- 'lib/delayed/plugins/connection.rb'
- 'lib/delayed/plugins/instrumentation.rb'
- 'lib/delayed/priority.rb'
- 'lib/delayed/psych_ext.rb'
- 'lib/delayed/runnable.rb'
- 'lib/delayed/serialization/active_record.rb'
- 'lib/delayed/syck_ext.rb'
- 'lib/delayed/tasks.rb'
- 'lib/delayed/worker.rb'
- 'lib/delayed/yaml_ext.rb'
- 'lib/delayed_job.rb'
- 'lib/delayed_job_active_record.rb'
- 'lib/generators/delayed/generator.rb'
- 'lib/generators/delayed/migration_generator.rb'
- 'lib/generators/delayed/next_migration_version.rb'
- 'spec/autoloaded/clazz.rb'
- 'spec/autoloaded/instance_clazz.rb'
- 'spec/autoloaded/instance_struct.rb'
- 'spec/autoloaded/struct.rb'
- 'spec/delayed/active_job_adapter_spec.rb'
- 'spec/delayed/job_spec.rb'
- 'spec/delayed/monitor_spec.rb'
- 'spec/delayed/plugins/instrumentation_spec.rb'
- 'spec/delayed/priority_spec.rb'
- 'spec/delayed/serialization/active_record_spec.rb'
- 'spec/delayed/tasks_spec.rb'
- 'spec/helper.rb'
- 'spec/lifecycle_spec.rb'
- 'spec/message_sending_spec.rb'
- 'spec/performable_mailer_spec.rb'
- 'spec/performable_method_spec.rb'
- 'spec/psych_ext_spec.rb'
- 'spec/sample_jobs.rb'
- 'spec/worker_spec.rb'
- 'spec/yaml_ext_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MinMaxComparison:
Exclude:
- 'lib/delayed/backend/base.rb'
# Offense count: 2
Style/MissingRespondToMissing:
Exclude:
- 'lib/delayed/message_sending.rb'
- 'lib/delayed/performable_method.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/delayed/performable_method.rb'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantConstantBase:
Exclude:
- 'spec/delayed/job_spec.rb'