-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.rubocop_todo.yml
346 lines (344 loc) · 12.3 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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
Lint/SendWithMixinArgument:
Exclude:
- lib/extras/simple_form_extensions.rb
Lint/ShadowedArgument:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Security/YAMLLoad:
Enabled: false
Style/FormatStringToken:
Exclude:
- app/decorators/bgeigie_log_decorator.rb
- config/routes.rb
- lib/elasticbeanstalk_helper.rb
- spec/integration/api/devices_spec.rb
Style/IfUnlessModifier:
Enabled: false
Style/WordArray:
Exclude:
- spec/integration/api/devices_spec.rb
Rails/ActiveRecordCallbacksOrder:
Exclude:
- app/models/measurement_import.rb
Rails/ApplicationController:
Exclude:
- app/controllers/api_docs_controller.rb
Rails/ApplicationRecord:
Exclude:
- app/models/admin.rb
- app/models/bgeigie_log.rb
- app/models/device.rb
- app/models/drive_log.rb
- app/models/map.rb
- app/models/measurement.rb
- app/models/measurement_import.rb
- app/models/measurement_import_log.rb
- app/models/uploader_contact_history.rb
- app/models/user.rb
Rails/BelongsTo:
Exclude:
- app/models/device_story_comment.rb
Rails/Blank:
Exclude:
- app/models/bgeigie_import.rb
Rails/ContentTag:
Exclude:
- app/helpers/bgeigie_imports_helper.rb
- app/helpers/measurements_helper.rb
- app/helpers/radiation_index_helper.rb
- lib/extras/simple_form_extensions.rb
Rails/CreateTableWithTimestamps:
Exclude:
- db/migrate/20111213000431_create_maps_measurements.rb
- db/migrate/20111214134716_create_measurement_imports.rb
Rails/DynamicFindBy:
Exclude:
- spec/models/bgeigie_import_spec.rb
Rails/FilePath:
Exclude:
- config/application.rb
- config/environments/development.rb
- spec/acceptance/user_uploads_bgeigie_log_spec.rb
- spec/lib/tasks/pending_imports_reminder.thor_spec.rb
- spec/models/measurement_import_spec.rb
Rails/FindBy:
Exclude:
- app/models/measurement.rb
Rails/HasAndBelongsToMany:
Exclude:
- app/models/measurement.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- app/models/device.rb
- app/models/drive_import.rb
- app/models/measurement_import.rb
- app/models/user.rb
Rails/HelperInstanceVariable:
Exclude:
- app/helpers/device_stories_helper.rb
Rails/HttpStatus:
Exclude:
- app/controllers/application_controller.rb
- app/controllers/crons_controller.rb
Rails/InverseOf:
Exclude:
- app/models/measurement.rb
Rails/LexicallyScopedActionFilter:
Exclude:
- app/controllers/device_stories_controller.rb
- app/controllers/device_story_comments_controller.rb
Rails/LinkToBlank:
Exclude:
- app/helpers/bgeigie_imports_helper.rb
Rails/MailerName:
Exclude:
- app/mailers/notifications.rb
- app/mailers/reminders.rb
Rails/MatchRoute:
Exclude:
- config/routes.rb
Rails/Output:
Exclude:
- app/models/drive_import.rb
Rails/OutputSafety:
Exclude:
- app/helpers/device_stories_helper.rb
- lib/extras/simple_form_extensions.rb
Rails/PluckInWhere:
Exclude:
- lib/tasks/pending_imports_reminder.thor
Rails/RakeEnvironment:
Exclude:
- lib/tasks/boostrap.rake
- lib/tasks/elasticbeanstalk.rake
- lib/tasks/rubocop.rake
Rails/ReadWriteAttribute:
Exclude:
- app/models/bgeigie_import.rb
- app/models/drive_import.rb
Rails/ReversibleMigration:
Exclude:
- db/migrate/20191129022447_remove_default_would_auto_approve.rb
Rails/SafeNavigation:
Exclude:
- app/helpers/bgeigie_imports_helper.rb
Rails/SkipsModelValidations:
Exclude:
- app/controllers/bgeigie_imports_controller.rb
- app/models/bgeigie_import.rb
- app/models/drive_import.rb
- db/migrate/20130115042245_save_cities_and_credits_as_strings.rb
- db/migrate/20130606042505_add_devise_confirmable_to_user.rb
Rails/SquishedSQLHeredocs:
Exclude:
- app/controllers/measurements_controller.rb
- db/migrate/20160208190731_add_subtype_to_measurement_imports.rb
- db/migrate/20160607005457_alter_measurement_imports_subtype_set_not_null.rb
RSpec/BeforeAfterAll:
Exclude:
- spec/acceptance/user_profile_spec.rb
- spec/integration/api/measurements_spec.rb
- spec/integration/api/users_spec.rb
- spec/spec_helper.rb
RSpec/Capybara/FeatureMethods:
Exclude:
- spec/acceptance/count_is_public_spec.rb
- spec/acceptance/device_story_airnote_spec.rb
- spec/acceptance/guest_signs_up_spec.rb
- spec/acceptance/user_creates_a_device_spec.rb
- spec/acceptance/user_creates_new_measurement_spec.rb
- spec/acceptance/user_downloads_bgeigie_imports_in_kml_spec.rb
- spec/acceptance/user_profile_spec.rb
- spec/acceptance/user_reset_password_spec.rb
- spec/acceptance/user_shows_bgeigie_import_spec.rb
- spec/acceptance/user_submits_reading_spec.rb
- spec/acceptance/user_tries_to_reset_password_spec.rb
- spec/acceptance/user_uploads_bgeigie_log_spec.rb
- spec/acceptance/user_views_bgeige_imports_not_approved_spec.rb
- spec/acceptance/user_views_bgeige_imports_not_processed_spec.rb
- spec/acceptance/user_views_bgeige_imports_spec.rb
- spec/acceptance/user_views_their_measurements_spec.rb
- spec/integration/api/bgeigie_imports_spec.rb
- spec/integration/api/devices_spec.rb
- spec/integration/api/measurements_spec.rb
- spec/integration/api/users_spec.rb
RSpec/ContextWording:
Exclude:
- spec/acceptance/guest_signs_up_spec.rb
- spec/acceptance/user_uploads_bgeigie_log_spec.rb
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/controllers/ingest_controller_spec.rb
- spec/controllers/measurements_controller_spec.rb
- spec/controllers/profiles_controller_spec.rb
- spec/integration/api/bgeigie_imports_spec.rb
- spec/models/bgeigie_import_spec.rb
- spec/models/measurement_import_spec.rb
- spec/models/measurement_spec.rb
- spec/views/bgeigie_imports/_auto_approve_status.html.erb_spec.rb
- spec/views/bgeigie_imports/show.html.erb_spec.rb
RSpec/DescribeMethod:
Exclude:
- spec/controllers/rails_admin/main_controller_spec.rb
RSpec/EmptyLineAfterExample:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/controllers/measurements_controller_spec.rb
RSpec/EmptyLineAfterExampleGroup:
Exclude:
- spec/controllers/device_stories_controller_spec.rb
RSpec/EmptyLineAfterFinalLet:
Exclude:
- spec/acceptance/user_profile_spec.rb
- spec/models/measurement_spec.rb
RSpec/EmptyLineAfterHook:
Exclude:
- spec/integration/api/bgeigie_imports_spec.rb
- spec/integration/api/devices_spec.rb
- spec/integration/api/users_spec.rb
- spec/models/measurement_spec.rb
- spec/requests/device_story_comments_controller_spec.rb
RSpec/EmptyLineAfterSubject:
Exclude:
- spec/models/measurement_spec.rb
- spec/models/user_spec.rb
RSpec/ExampleLength:
Exclude:
- spec/acceptance/guest_signs_up_spec.rb
- spec/acceptance/user_creates_a_device_spec.rb
- spec/acceptance/user_creates_new_measurement_spec.rb
- spec/acceptance/user_downloads_bgeigie_imports_in_kml_spec.rb
- spec/acceptance/user_profile_spec.rb
- spec/acceptance/user_reset_password_spec.rb
- spec/acceptance/user_submits_reading_spec.rb
- spec/acceptance/user_uploads_bgeigie_log_spec.rb
- spec/helpers/device_stories_helper_spec.rb
- spec/integration/api/devices_spec.rb
- spec/integration/api/measurements_spec.rb
- spec/integration/api/users_spec.rb
- spec/models/ingest_measurment_spec.rb
- spec/requests/device_story_comments_controller_spec.rb
RSpec/ExampleWording:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/controllers/device_story_comments_controller_spec.rb
- spec/controllers/ingest_controller_spec.rb
- spec/controllers/measurements_controller_spec.rb
- spec/controllers/profiles_controller_spec.rb
- spec/helpers/measurements_helper_spec.rb
- spec/lib/tasks/pending_imports_reminder.thor_spec.rb
- spec/models/bgeigie_import_spec.rb
- spec/models/bgeigie_log_spec.rb
- spec/models/device_story_comment_spec.rb
- spec/models/ingest_measurment_spec.rb
- spec/models/measurement_import_spec.rb
RSpec/ExpectChange:
Exclude:
- spec/requests/device_story_comments_controller_spec.rb
- spec/safecast/tasks/device_stories/update_metadata_spec.rb
RSpec/ExpectInHook:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
RSpec/FilePath:
Exclude:
- spec/controllers/rails_admin/main_controller_spec.rb
- spec/models/ingest_measurment_spec.rb
RSpec/HookArgument:
Exclude:
- spec/integration/api/bgeigie_imports_spec.rb
- spec/spec_helper.rb
RSpec/ImplicitExpect:
Exclude:
- spec/models/device_spec.rb
- spec/models/measurement_spec.rb
- spec/models/user_spec.rb
RSpec/InstanceVariable:
Exclude:
- spec/controllers/crons_controller_spec.rb
- spec/controllers/rails_admin/main_controller_spec.rb
- spec/helpers/device_stories_helper_spec.rb
- spec/integration/api/bgeigie_imports_spec.rb
- spec/integration/api/devices_spec.rb
RSpec/LeadingSubject:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/integration/api/bgeigie_imports_spec.rb
- spec/mailers/notifications_spec.rb
- spec/models/device_spec.rb
- spec/models/drive_import_spec.rb
- spec/models/drive_log_spec.rb
- spec/models/measurement_spec.rb
- spec/views/bgeigie_imports/_auto_approve_status.html.erb_spec.rb
RSpec/LetSetup:
Exclude:
- spec/acceptance/user_creates_new_measurement_spec.rb
- spec/acceptance/user_views_bgeige_imports_not_approved_spec.rb
- spec/acceptance/user_views_bgeige_imports_not_processed_spec.rb
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/integration/api/measurements_spec.rb
RSpec/MessageSpies:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/mailers/notifications_spec.rb
RSpec/MultipleDescribes:
Exclude:
- spec/acceptance/user_submits_reading_spec.rb
- spec/integration/api/devices_spec.rb
- spec/integration/api/measurements_spec.rb
RSpec/MultipleExpectations:
Exclude:
- spec/acceptance/user_downloads_bgeigie_imports_in_kml_spec.rb
- spec/acceptance/user_profile_spec.rb
- spec/acceptance/user_submits_reading_spec.rb
- spec/acceptance/user_uploads_bgeigie_log_spec.rb
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/controllers/device_story_comments_controller_spec.rb
- spec/controllers/ingest_controller_spec.rb
- spec/controllers/measurements_controller_spec.rb
- spec/controllers/profiles_controller_spec.rb
- spec/helpers/device_stories_helper_spec.rb
- spec/integration/api/bgeigie_imports_spec.rb
- spec/integration/api/devices_spec.rb
- spec/integration/api/measurements_spec.rb
- spec/integration/api/users_spec.rb
- spec/models/bgeigie_import_spec.rb
- spec/models/device_story_comment_spec.rb
- spec/models/ingest_measurment_spec.rb
- spec/models/measurement_import_spec.rb
- spec/requests/device_story_comments_controller_spec.rb
- spec/safecast/tasks/device_stories/update_metadata_spec.rb
RSpec/NamedSubject:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/safecast/tasks/device_stories/update_metadata_spec.rb
RSpec/NestedGroups:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/models/measurement_spec.rb
RSpec/NotToNot:
Exclude:
- spec/acceptance/user_shows_bgeigie_import_spec.rb
- spec/controllers/bgeigie_imports/auto_approved_controller_spec.rb
- spec/controllers/bgeigie_imports/awaiting_response_controller_spec.rb
- spec/controllers/bgeigie_imports/not_approved_controller_spec.rb
- spec/controllers/bgeigie_imports/not_processed_controller_spec.rb
- spec/controllers/bgeigie_imports/not_submitted_controller_spec.rb
- spec/controllers/bgeigie_imports/rejected_import_controller_spec.rb
- spec/controllers/bgeigie_imports_controller_spec.rb
RSpec/Rails/HttpStatus:
Exclude:
- spec/controllers/crons_controller_spec.rb
RSpec/RepeatedExampleGroupBody:
Exclude:
- spec/controllers/rails_admin/main_controller_spec.rb
RSpec/RepeatedExampleGroupDescription:
Exclude:
- spec/views/bgeigie_imports/_auto_approve_status.html.erb_spec.rb
RSpec/StubbedMock:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/mailers/notifications_spec.rb
RSpec/VerifiedDoubles:
Exclude:
- spec/controllers/bgeigie_imports_controller_spec.rb
- spec/mailers/notifications_spec.rb