-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop_todo.yml
211 lines (183 loc) · 6.86 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-09-03 14:59:28 UTC using RuboCop version 1.66.0.
# 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: 10
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
# SupportedStyles: Gemfile, gems.rb, gemspec
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
Gemspec/DevelopmentDependencies:
Exclude:
- 'fastlane-plugin-wpmreleasetoolkit.gemspec'
# Offense count: 3
Lint/NonLocalExitFromIterator:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb'
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_update_action.rb'
# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb'
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_update_metadata_source.rb'
# Offense count: 76
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# ForbiddenPrefixes: is_, has_, have_
# AllowedMethods: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
Enabled: false
# Offense count: 2
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
# Offense count: 6
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Exclude:
- 'spec/file_reference_spec.rb'
# Offense count: 6
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/ci_helper_spec.rb'
- 'spec/git_helper_spec.rb'
- 'spec/ios_lint_localizations_spec.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
# DisallowedExamples: works
RSpec/ExampleWording:
Exclude:
- 'spec/github_helper_spec.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
RSpec/ExcessiveDocstringSpacing:
Exclude:
- 'spec/git_helper_spec.rb'
- 'spec/marketing_version_calculator_spec.rb'
# Offense count: 25
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/git_helper_spec.rb'
- 'spec/ios_lint_localizations_spec.rb'
# Offense count: 136
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 46
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/android_version_helper_spec.rb'
- 'spec/ci_helper_spec.rb'
- 'spec/configuration_spec.rb'
- 'spec/file_reference_spec.rb'
# Offense count: 20
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 5
# Offense count: 54
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/android_firebase_test_spec.rb'
- 'spec/android_send_app_size_metrics_spec.rb'
- 'spec/firebase_test_runner_spec.rb'
- 'spec/get_prs_between_tags_spec.rb'
- 'spec/ios_download_strings_files_from_glotpress_spec.rb'
- 'spec/ios_generate_strings_file_from_code_spec.rb'
- 'spec/ios_lint_localizations_spec.rb'
- 'spec/ios_send_app_size_metrics_spec.rb'
- 'spec/release_notes_helper_spec.rb'
# Offense count: 10
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Exclude:
- 'spec/android_firebase_test_spec.rb'
- 'spec/file_reference_spec.rb'
- 'spec/firebase_device_spec.rb'
# Offense count: 63
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Enabled: false
# Offense count: 7
RSpec/StubbedMock:
Exclude:
- 'spec/encryption_helper_spec.rb'
- 'spec/file_reference_spec.rb'
# Offense count: 2
RSpec/SubjectDeclaration:
Exclude:
- 'spec/file_reference_spec.rb'
# Offense count: 6
RSpec/SubjectStub:
Exclude:
- 'spec/file_reference_spec.rb'
# Offense count: 18
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: constant, string
RSpec/VerifiedDoubleReference:
Exclude:
- 'spec/copy_branch_protection_action_spec.rb'
- 'spec/create_release_backmerge_pull_request_spec.rb'
- 'spec/get_prs_between_tags_spec.rb'
- 'spec/github_helper_spec.rb'
- 'spec/remove_branch_protection_action_spec.rb'
- 'spec/set_branch_protection_action_spec.rb'
- 'spec/set_milestone_frozen_marker_action_spec.rb'
- 'spec/update_assigned_milestone_spec.rb'
# Offense count: 4
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/encryption_helper_spec.rb'
- 'spec/spec_helper.rb'
# Offense count: 2
Security/Open:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb'
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_create_xml_release_notes.rb'
# Offense count: 95
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyLiteral:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_strings_file_validation_helper.rb'
# Offense count: 4
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
# Offense count: 1
Style/MixinUsage:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb'
# Offense count: 5
Style/MultilineBlockChain:
Exclude:
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/common/promo_screenshots_action.rb'
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_development_certificates_to_provisioning_profiles.rb'
- 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb'