1
1
# This configuration was generated by
2
2
# `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 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
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
-
22
9
# Offense count: 3
23
10
Lint/NonLocalExitFromIterator :
24
11
Exclude :
25
12
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
26
13
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
27
14
28
- # Offense count: 6
15
+ # Offense count: 5
29
16
Lint/UselessAssignment :
30
17
Exclude :
31
18
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb'
32
19
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
33
20
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
34
- - ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
35
21
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
36
22
37
- # Offense count: 9
23
+ # Offense count: 8
38
24
Naming/AccessorMethodName :
39
25
Exclude :
40
26
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_update_action.rb'
41
27
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_version_helper.rb'
42
28
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
43
- - ' spec/spec_helper.rb'
44
29
45
30
# Offense count: 19
46
31
# 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
48
33
Naming/MethodParameterName :
49
34
Exclude :
50
35
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -54,7 +39,7 @@ Naming/MethodParameterName:
54
39
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
55
40
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
56
41
57
- # Offense count: 95
42
+ # Offense count: 111
58
43
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
59
44
# NamePrefix: is_, has_, have_
60
45
# ForbiddenPrefixes: is_, has_, have_
@@ -63,8 +48,8 @@ Naming/MethodParameterName:
63
48
Naming/PredicateName :
64
49
Enabled : false
65
50
66
- # Offense count: 78
67
- # Configuration parameters: EnforcedStyle, AllowedIdentifiers.
51
+ # Offense count: 54
52
+ # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns .
68
53
# SupportedStyles: snake_case, camelCase
69
54
Naming/VariableName :
70
55
Exclude :
@@ -73,13 +58,11 @@ Naming/VariableName:
73
58
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_validate_action.rb'
74
59
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
75
60
- ' 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'
78
61
79
62
# Offense count: 2
80
- # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
63
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns .
81
64
# 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
83
66
Naming/VariableNumber :
84
67
Exclude :
85
68
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
@@ -93,15 +76,14 @@ RSpec/ContextWording:
93
76
- ' spec/git_helper_spec.rb'
94
77
- ' spec/ios_lint_localizations_spec.rb'
95
78
96
- # Offense count: 12
79
+ # Offense count: 39
97
80
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
98
81
# Include: **/*_spec*rb*, **/spec/**/*
99
82
RSpec/FilePath :
100
- Exclude :
101
- - ' spec/*_spec.rb'
83
+ Enabled : false
102
84
103
85
# Offense count: 8
104
- # Cop supports --auto-correct .
86
+ # This cop supports safe autocorrection (--autocorrect) .
105
87
# Configuration parameters: EnforcedStyle.
106
88
# SupportedStyles: implicit, each, example
107
89
RSpec/HookArgument :
@@ -116,22 +98,20 @@ RSpec/HookArgument:
116
98
# Configuration parameters: AssignmentOnly.
117
99
RSpec/InstanceVariable :
118
100
Exclude :
119
- - ' spec/android_merge_translators_strings_spec.rb'
120
101
- ' spec/git_helper_spec.rb'
121
102
- ' spec/ios_lint_localizations_spec.rb'
122
- - ' spec/ios_merge_translators_strings_spec.rb'
123
103
124
- # Offense count: 24
104
+ # Offense count: 89
125
105
# Configuration parameters: .
126
106
# SupportedStyles: have_received, receive
127
107
RSpec/MessageSpies :
128
108
EnforcedStyle : receive
129
109
130
- # Offense count: 26
110
+ # Offense count: 88
131
111
RSpec/MultipleExpectations :
132
112
Max : 7
133
113
134
- # Offense count: 43
114
+ # Offense count: 48
135
115
# Configuration parameters: IgnoreSharedExamples.
136
116
RSpec/NamedSubject :
137
117
Exclude :
@@ -140,7 +120,7 @@ RSpec/NamedSubject:
140
120
- ' spec/configuration_spec.rb'
141
121
- ' spec/file_reference_spec.rb'
142
122
143
- # Offense count: 6
123
+ # Offense count: 8
144
124
RSpec/NestedGroups :
145
125
Max : 5
146
126
@@ -162,16 +142,13 @@ RSpec/VerifiedDoubles:
162
142
- ' spec/encryption_helper_spec.rb'
163
143
- ' spec/spec_helper.rb'
164
144
165
- # Offense count: 5
145
+ # Offense count: 2
166
146
Security/Open :
167
147
Exclude :
168
148
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb'
169
149
- ' 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'
173
150
174
- # Offense count: 102
151
+ # Offense count: 126
175
152
# Configuration parameters: AllowedConstants.
176
153
Style/Documentation :
177
154
Enabled : false
@@ -182,8 +159,9 @@ Style/GlobalVars:
182
159
Exclude :
183
160
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
184
161
185
- # Offense count: 11
186
- # Configuration parameters: MinBodyLength.
162
+ # Offense count: 10
163
+ # This cop supports safe autocorrection (--autocorrect).
164
+ # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
187
165
Style/GuardClause :
188
166
Exclude :
189
167
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
@@ -192,7 +170,6 @@ Style/GuardClause:
192
170
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata_source.rb'
193
171
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
194
172
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
195
- - ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
196
173
197
174
# Offense count: 1
198
175
Style/MixinUsage :
@@ -207,7 +184,7 @@ Style/MultilineBlockChain:
207
184
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb'
208
185
209
186
# Offense count: 15
210
- # Cop supports --auto-correct .
187
+ # This cop supports unsafe autocorrection (--autocorrect-all) .
211
188
# Configuration parameters: EnforcedStyle.
212
189
# SupportedStyles: literals, strict
213
190
Style/MutableConstant :
@@ -220,21 +197,19 @@ Style/MutableConstant:
220
197
- ' lib/fastlane/plugin/wpmreleasetoolkit/version.rb'
221
198
- ' spec/release_notes_helper_spec.rb'
222
199
223
- # Offense count: 9
224
- # Cop supports --auto-correct .
200
+ # Offense count: 7
201
+ # This cop supports safe autocorrection (--autocorrect) .
225
202
# Configuration parameters: EnforcedStyle, MinBodyLength.
226
203
# SupportedStyles: skip_modifier_ifs, always
227
204
Style/Next :
228
205
Exclude :
229
- - ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_merge_translators_strings.rb'
230
206
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_downloadmetadata_action.rb'
231
- - ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_merge_translators_strings.rb'
232
207
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
233
208
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
234
209
235
210
# 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 .
238
213
# SupportedStyles: predicate, comparison
239
214
Style/NumericPredicate :
240
215
Exclude :
@@ -252,13 +227,13 @@ Style/NumericPredicate:
252
227
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
253
228
254
229
# Offense count: 1
255
- # Cop supports --auto-correct .
230
+ # This cop supports safe autocorrection (--autocorrect) .
256
231
Style/RedundantBegin :
257
232
Exclude :
258
233
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
259
234
260
- # Offense count: 15
261
- # Cop supports --auto-correct .
235
+ # Offense count: 16
236
+ # This cop supports safe autocorrection (--autocorrect) .
262
237
Style/RedundantParentheses :
263
238
Exclude :
264
239
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -270,14 +245,14 @@ Style/RedundantParentheses:
270
245
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata_source.rb'
271
246
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
272
247
273
- # Offense count: 49
274
- # Cop supports --auto-correct .
248
+ # Offense count: 54
249
+ # This cop supports safe autocorrection (--autocorrect) .
275
250
# Configuration parameters: AllowMultipleReturnValues.
276
251
Style/RedundantReturn :
277
252
Enabled : false
278
253
279
- # Offense count: 39
280
- # Cop supports --auto-correct .
254
+ # Offense count: 37
255
+ # This cop supports safe autocorrection (--autocorrect) .
281
256
Style/RedundantSelf :
282
257
Exclude :
283
258
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
@@ -288,11 +263,9 @@ Style/RedundantSelf:
288
263
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
289
264
- ' lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb'
290
265
- ' lib/fastlane/plugin/wpmreleasetoolkit/models/file_reference.rb'
291
- - ' spec/android_merge_translators_strings_spec.rb'
292
- - ' spec/ios_merge_translators_strings_spec.rb'
293
266
294
267
# Offense count: 6
295
- # Cop supports --auto-correct .
268
+ # This cop supports safe autocorrection (--autocorrect) .
296
269
Style/RescueModifier :
297
270
Exclude :
298
271
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb'
@@ -302,8 +275,8 @@ Style/RescueModifier:
302
275
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb'
303
276
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
304
277
305
- # Offense count: 12
306
- # Cop supports --auto-correct .
278
+ # Offense count: 11
279
+ # This cop supports safe autocorrection (--autocorrect) .
307
280
# Configuration parameters: EnforcedStyle.
308
281
# SupportedStyles: implicit, explicit
309
282
Style/RescueStandardError :
@@ -317,15 +290,15 @@ Style/RescueStandardError:
317
290
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
318
291
319
292
# 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 .
322
295
# AllowedMethods: present?, blank?, presence, try, try!
323
296
Style/SafeNavigation :
324
297
Exclude :
325
298
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
326
299
327
300
# Offense count: 9
328
- # Cop supports --auto-correct .
301
+ # This cop supports safe autocorrection (--autocorrect) .
329
302
Style/SelfAssignment :
330
303
Exclude :
331
304
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb'
@@ -334,33 +307,33 @@ Style/SelfAssignment:
334
307
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_update_helper.rb'
335
308
336
309
# Offense count: 1
337
- # Cop supports --auto-correct .
310
+ # This cop supports safe autocorrection (--autocorrect) .
338
311
# Configuration parameters: EnforcedStyle.
339
312
# SupportedStyles: only_raise, only_fail, semantic
340
313
Style/SignalException :
341
314
Exclude :
342
315
- ' Dangerfile'
343
316
344
317
# 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
348
321
Style/SpecialGlobalVars :
349
322
Exclude :
350
323
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
351
324
352
- # Offense count: 4
353
- # Cop supports --auto-correct .
325
+ # Offense count: 28
326
+ # This cop supports safe autocorrection (--autocorrect) .
354
327
# Configuration parameters: .
355
328
# SupportedStyles: percent, brackets
356
329
Style/SymbolArray :
357
330
EnforcedStyle : percent
358
331
MinSize : 3
359
332
360
333
# 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
364
337
Style/SymbolProc :
365
338
Exclude :
366
339
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_add_files_to_copy_action.rb'
@@ -370,7 +343,7 @@ Style/SymbolProc:
370
343
- ' lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb'
371
344
372
345
# Offense count: 2
373
- # Cop supports --auto-correct .
346
+ # This cop supports safe autocorrection (--autocorrect) .
374
347
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
375
348
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
376
349
Style/TernaryParentheses :
@@ -379,22 +352,18 @@ Style/TernaryParentheses:
379
352
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
380
353
381
354
# Offense count: 3
382
- # Cop supports --auto-correct .
355
+ # This cop supports safe autocorrection (--autocorrect) .
383
356
Style/UnlessElse :
384
357
Exclude :
385
358
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_completecodefreeze_prechecks.rb'
386
359
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/common/promo_screenshots_action.rb'
387
360
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_download_action.rb'
388
361
389
362
# Offense count: 4
390
- # Cop supports --auto-correct .
363
+ # This cop supports unsafe autocorrection (--autocorrect-all) .
391
364
Style/ZeroLengthPredicate :
392
365
Exclude :
393
366
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_development_certificates_to_provisioning_profiles.rb'
394
367
- ' lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb'
395
368
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/git_helper.rb'
396
369
- ' 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