Skip to content

Commit 8c16c26

Browse files
Regenerate rubocop_todo.yml
1 parent c98a776 commit 8c16c26

File tree

1 file changed

+51
-82
lines changed

1 file changed

+51
-82
lines changed

.rubocop_todo.yml

Lines changed: 51 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,35 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2021-06-02 19:47:56 UTC using RuboCop version 1.15.0.
3+
# on 2023-06-14 05:10:53 UTC using RuboCop version 1.50.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 32
10-
Lint/IneffectiveAccessModifier:
11-
Exclude:
12-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_bump_version_beta.rb'
13-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_bump_version_final_release.rb'
14-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_bump_version_hotfix.rb'
15-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_bump_version_release.rb'
16-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_beta.rb'
17-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_hotfix.rb'
18-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_release.rb'
19-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_version_helper.rb'
20-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
21-
229
# Offense count: 3
2310
Lint/NonLocalExitFromIterator:
2411
Exclude:
2512
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
2613
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
2714

28-
# Offense count: 6
15+
# Offense count: 5
2916
Lint/UselessAssignment:
3017
Exclude:
3118
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb'
3219
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
3320
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
34-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
3521
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
3622

37-
# Offense count: 9
23+
# Offense count: 8
3824
Naming/AccessorMethodName:
3925
Exclude:
4026
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_update_action.rb'
4127
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_version_helper.rb'
4228
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
43-
- 'spec/spec_helper.rb'
4429

4530
# Offense count: 19
4631
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
47-
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
32+
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
4833
Naming/MethodParameterName:
4934
Exclude:
5035
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -54,7 +39,7 @@ Naming/MethodParameterName:
5439
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
5540
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
5641

57-
# Offense count: 95
42+
# Offense count: 111
5843
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
5944
# NamePrefix: is_, has_, have_
6045
# ForbiddenPrefixes: is_, has_, have_
@@ -63,8 +48,8 @@ Naming/MethodParameterName:
6348
Naming/PredicateName:
6449
Enabled: false
6550

66-
# Offense count: 78
67-
# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
51+
# Offense count: 54
52+
# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns.
6853
# SupportedStyles: snake_case, camelCase
6954
Naming/VariableName:
7055
Exclude:
@@ -73,13 +58,11 @@ Naming/VariableName:
7358
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_validate_action.rb'
7459
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
7560
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
76-
- 'spec/android_merge_translators_strings_spec.rb'
77-
- 'spec/ios_merge_translators_strings_spec.rb'
7861

7962
# Offense count: 2
80-
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
63+
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
8164
# SupportedStyles: snake_case, normalcase, non_integer
82-
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
65+
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
8366
Naming/VariableNumber:
8467
Exclude:
8568
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
@@ -93,15 +76,14 @@ RSpec/ContextWording:
9376
- 'spec/git_helper_spec.rb'
9477
- 'spec/ios_lint_localizations_spec.rb'
9578

96-
# Offense count: 12
79+
# Offense count: 39
9780
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
9881
# Include: **/*_spec*rb*, **/spec/**/*
9982
RSpec/FilePath:
100-
Exclude:
101-
- 'spec/*_spec.rb'
83+
Enabled: false
10284

10385
# Offense count: 8
104-
# Cop supports --auto-correct.
86+
# This cop supports safe autocorrection (--autocorrect).
10587
# Configuration parameters: EnforcedStyle.
10688
# SupportedStyles: implicit, each, example
10789
RSpec/HookArgument:
@@ -116,22 +98,20 @@ RSpec/HookArgument:
11698
# Configuration parameters: AssignmentOnly.
11799
RSpec/InstanceVariable:
118100
Exclude:
119-
- 'spec/android_merge_translators_strings_spec.rb'
120101
- 'spec/git_helper_spec.rb'
121102
- 'spec/ios_lint_localizations_spec.rb'
122-
- 'spec/ios_merge_translators_strings_spec.rb'
123103

124-
# Offense count: 24
104+
# Offense count: 89
125105
# Configuration parameters: .
126106
# SupportedStyles: have_received, receive
127107
RSpec/MessageSpies:
128108
EnforcedStyle: receive
129109

130-
# Offense count: 26
110+
# Offense count: 88
131111
RSpec/MultipleExpectations:
132112
Max: 7
133113

134-
# Offense count: 43
114+
# Offense count: 48
135115
# Configuration parameters: IgnoreSharedExamples.
136116
RSpec/NamedSubject:
137117
Exclude:
@@ -140,7 +120,7 @@ RSpec/NamedSubject:
140120
- 'spec/configuration_spec.rb'
141121
- 'spec/file_reference_spec.rb'
142122

143-
# Offense count: 6
123+
# Offense count: 8
144124
RSpec/NestedGroups:
145125
Max: 5
146126

@@ -162,16 +142,13 @@ RSpec/VerifiedDoubles:
162142
- 'spec/encryption_helper_spec.rb'
163143
- 'spec/spec_helper.rb'
164144

165-
# Offense count: 5
145+
# Offense count: 2
166146
Security/Open:
167147
Exclude:
168148
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb'
169149
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_create_xml_release_notes.rb'
170-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
171-
- 'spec/android_merge_translators_strings_spec.rb'
172-
- 'spec/ios_merge_translators_strings_spec.rb'
173150

174-
# Offense count: 102
151+
# Offense count: 126
175152
# Configuration parameters: AllowedConstants.
176153
Style/Documentation:
177154
Enabled: false
@@ -182,8 +159,9 @@ Style/GlobalVars:
182159
Exclude:
183160
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
184161

185-
# Offense count: 11
186-
# Configuration parameters: MinBodyLength.
162+
# Offense count: 10
163+
# This cop supports safe autocorrection (--autocorrect).
164+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
187165
Style/GuardClause:
188166
Exclude:
189167
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
@@ -192,7 +170,6 @@ Style/GuardClause:
192170
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata_source.rb'
193171
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
194172
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
195-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
196173

197174
# Offense count: 1
198175
Style/MixinUsage:
@@ -207,7 +184,7 @@ Style/MultilineBlockChain:
207184
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb'
208185

209186
# Offense count: 15
210-
# Cop supports --auto-correct.
187+
# This cop supports unsafe autocorrection (--autocorrect-all).
211188
# Configuration parameters: EnforcedStyle.
212189
# SupportedStyles: literals, strict
213190
Style/MutableConstant:
@@ -220,21 +197,19 @@ Style/MutableConstant:
220197
- 'lib/fastlane/plugin/wpmreleasetoolkit/version.rb'
221198
- 'spec/release_notes_helper_spec.rb'
222199

223-
# Offense count: 9
224-
# Cop supports --auto-correct.
200+
# Offense count: 7
201+
# This cop supports safe autocorrection (--autocorrect).
225202
# Configuration parameters: EnforcedStyle, MinBodyLength.
226203
# SupportedStyles: skip_modifier_ifs, always
227204
Style/Next:
228205
Exclude:
229-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_merge_translators_strings.rb'
230206
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_downloadmetadata_action.rb'
231-
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_merge_translators_strings.rb'
232207
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
233208
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
234209

235210
# Offense count: 23
236-
# Cop supports --auto-correct.
237-
# Configuration parameters: EnforcedStyle, IgnoredMethods.
211+
# This cop supports unsafe autocorrection (--autocorrect-all).
212+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
238213
# SupportedStyles: predicate, comparison
239214
Style/NumericPredicate:
240215
Exclude:
@@ -252,13 +227,13 @@ Style/NumericPredicate:
252227
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
253228

254229
# Offense count: 1
255-
# Cop supports --auto-correct.
230+
# This cop supports safe autocorrection (--autocorrect).
256231
Style/RedundantBegin:
257232
Exclude:
258233
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
259234

260-
# Offense count: 15
261-
# Cop supports --auto-correct.
235+
# Offense count: 16
236+
# This cop supports safe autocorrection (--autocorrect).
262237
Style/RedundantParentheses:
263238
Exclude:
264239
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -270,14 +245,14 @@ Style/RedundantParentheses:
270245
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata_source.rb'
271246
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
272247

273-
# Offense count: 49
274-
# Cop supports --auto-correct.
248+
# Offense count: 54
249+
# This cop supports safe autocorrection (--autocorrect).
275250
# Configuration parameters: AllowMultipleReturnValues.
276251
Style/RedundantReturn:
277252
Enabled: false
278253

279-
# Offense count: 39
280-
# Cop supports --auto-correct.
254+
# Offense count: 37
255+
# This cop supports safe autocorrection (--autocorrect).
281256
Style/RedundantSelf:
282257
Exclude:
283258
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -288,11 +263,9 @@ Style/RedundantSelf:
288263
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
289264
- 'lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb'
290265
- 'lib/fastlane/plugin/wpmreleasetoolkit/models/file_reference.rb'
291-
- 'spec/android_merge_translators_strings_spec.rb'
292-
- 'spec/ios_merge_translators_strings_spec.rb'
293266

294267
# Offense count: 6
295-
# Cop supports --auto-correct.
268+
# This cop supports safe autocorrection (--autocorrect).
296269
Style/RescueModifier:
297270
Exclude:
298271
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb'
@@ -302,8 +275,8 @@ Style/RescueModifier:
302275
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
303276
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
304277

305-
# Offense count: 12
306-
# Cop supports --auto-correct.
278+
# Offense count: 11
279+
# This cop supports safe autocorrection (--autocorrect).
307280
# Configuration parameters: EnforcedStyle.
308281
# SupportedStyles: implicit, explicit
309282
Style/RescueStandardError:
@@ -317,15 +290,15 @@ Style/RescueStandardError:
317290
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
318291

319292
# Offense count: 2
320-
# Cop supports --auto-correct.
321-
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
293+
# This cop supports unsafe autocorrection (--autocorrect-all).
294+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
322295
# AllowedMethods: present?, blank?, presence, try, try!
323296
Style/SafeNavigation:
324297
Exclude:
325298
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
326299

327300
# Offense count: 9
328-
# Cop supports --auto-correct.
301+
# This cop supports safe autocorrection (--autocorrect).
329302
Style/SelfAssignment:
330303
Exclude:
331304
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb'
@@ -334,33 +307,33 @@ Style/SelfAssignment:
334307
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
335308

336309
# Offense count: 1
337-
# Cop supports --auto-correct.
310+
# This cop supports safe autocorrection (--autocorrect).
338311
# Configuration parameters: EnforcedStyle.
339312
# SupportedStyles: only_raise, only_fail, semantic
340313
Style/SignalException:
341314
Exclude:
342315
- 'Dangerfile'
343316

344317
# Offense count: 1
345-
# Cop supports --auto-correct.
346-
# Configuration parameters: EnforcedStyle.
347-
# SupportedStyles: use_perl_names, use_english_names
318+
# This cop supports unsafe autocorrection (--autocorrect-all).
319+
# Configuration parameters: RequireEnglish, EnforcedStyle.
320+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
348321
Style/SpecialGlobalVars:
349322
Exclude:
350323
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
351324

352-
# Offense count: 4
353-
# Cop supports --auto-correct.
325+
# Offense count: 28
326+
# This cop supports safe autocorrection (--autocorrect).
354327
# Configuration parameters: .
355328
# SupportedStyles: percent, brackets
356329
Style/SymbolArray:
357330
EnforcedStyle: percent
358331
MinSize: 3
359332

360333
# Offense count: 7
361-
# Cop supports --auto-correct.
362-
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
363-
# IgnoredMethods: respond_to, define_method
334+
# This cop supports unsafe autocorrection (--autocorrect-all).
335+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
336+
# AllowedMethods: define_method
364337
Style/SymbolProc:
365338
Exclude:
366339
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_add_files_to_copy_action.rb'
@@ -370,7 +343,7 @@ Style/SymbolProc:
370343
- 'lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb'
371344

372345
# Offense count: 2
373-
# Cop supports --auto-correct.
346+
# This cop supports safe autocorrection (--autocorrect).
374347
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
375348
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
376349
Style/TernaryParentheses:
@@ -379,22 +352,18 @@ Style/TernaryParentheses:
379352
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
380353

381354
# Offense count: 3
382-
# Cop supports --auto-correct.
355+
# This cop supports safe autocorrection (--autocorrect).
383356
Style/UnlessElse:
384357
Exclude:
385358
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_completecodefreeze_prechecks.rb'
386359
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/promo_screenshots_action.rb'
387360
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_download_action.rb'
388361

389362
# Offense count: 4
390-
# Cop supports --auto-correct.
363+
# This cop supports unsafe autocorrection (--autocorrect-all).
391364
Style/ZeroLengthPredicate:
392365
Exclude:
393366
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_development_certificates_to_provisioning_profiles.rb'
394367
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb'
395368
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/git_helper.rb'
396369
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
397-
398-
Style/ClassVars:
399-
Exclude:
400-
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/github_helper.rb'

0 commit comments

Comments
 (0)