-
Notifications
You must be signed in to change notification settings - Fork 1k
/
.rubocop_todo.yml
191 lines (171 loc) · 8.14 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-05-17 06:52:32 UTC using RuboCop version 1.63.2.
# 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: 39
RSpec/AnyInstance:
Exclude:
- 'bundler/spec/dependabot/bundler/update_checker_spec.rb'
- 'common/spec/dependabot/clients/codecommit_spec.rb'
- 'common/spec/dependabot/file_fetchers/base_spec.rb'
- 'common/spec/dependabot/git_commit_checker_spec.rb'
- 'common/spec/dependabot/pull_request_creator/message_builder_spec.rb'
- 'gradle/spec/dependabot/gradle/metadata_finder_spec.rb'
- 'maven/spec/dependabot/maven/metadata_finder_spec.rb'
- 'npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb'
- 'python/spec/dependabot/python/file_updater_spec.rb'
- 'updater/spec/dependabot/dependency_change_builder_spec.rb'
- 'updater/spec/dependabot/file_fetcher_command_spec.rb'
# Offense count: 1286
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 98
# Offense count: 10
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'bundler/helpers/v2/spec/ruby_version_spec.rb'
- 'bundler/spec/dependabot/bundler/helper_spec.rb'
- 'common/spec/dependabot/clients/codecommit_spec.rb'
- 'elm/spec/dependabot/elm/update_checker/elm_19_version_resolver_spec.rb'
- 'nuget/spec/dependabot/nuget/nuget_config_credential_helpers_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/compatibility_checker_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/nupkg_fetcher_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/nuspec_fetcher_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/repository_finder_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/tfm_finder_spec.rb'
# Offense count: 29
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'go_modules/spec/dependabot/go_modules/file_updater_spec.rb'
# Offense count: 22
RSpec/IteratedExpectation:
Exclude:
- 'bundler/spec/dependabot/bundler/file_updater_spec.rb'
- 'cargo/spec/dependabot/cargo/file_updater_spec.rb'
- 'composer/spec/dependabot/composer/file_updater_spec.rb'
- 'docker/spec/dependabot/docker/file_updater_spec.rb'
- 'elm/spec/dependabot/elm/file_updater_spec.rb'
- 'git_submodules/spec/dependabot/git_submodules/file_updater_spec.rb'
- 'github_actions/spec/dependabot/github_actions/file_updater_spec.rb'
- 'go_modules/spec/dependabot/go_modules/file_updater_spec.rb'
- 'gradle/spec/dependabot/gradle/file_updater_spec.rb'
- 'hex/spec/dependabot/hex/file_updater_spec.rb'
- 'maven/spec/dependabot/maven/file_updater_spec.rb'
- 'npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater_spec.rb'
- 'python/spec/dependabot/python/file_updater/requirement_file_updater_spec.rb'
- 'python/spec/dependabot/python/file_updater_spec.rb'
# Offense count: 3
RSpec/MessageChain:
Exclude:
- 'updater/spec/dependabot/api_client_spec.rb'
- 'updater/spec/dependabot/sentry/exception_sanitizer_processor_spec.rb'
- 'updater/spec/dependabot/service_spec.rb'
# Offense count: 395
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Enabled: false
# Offense count: 1380
RSpec/MultipleExpectations:
Max: 17
# Offense count: 5339
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 30
# Offense count: 3871
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 8
# Offense count: 16
RSpec/OverwritingSetup:
Exclude:
- 'bundler/spec/dependabot/bundler/update_checker_spec.rb'
- 'common/spec/dependabot/pull_request_creator/message_builder_spec.rb'
- 'docker/spec/dependabot/docker/file_updater_spec.rb'
- 'gradle/spec/dependabot/gradle/update_checker/version_finder_spec.rb'
- 'maven/spec/dependabot/maven/update_checker/version_finder_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/repository_finder_spec.rb'
- 'python/spec/dependabot/python/update_checker/pip_version_resolver_spec.rb'
- 'python/spec/dependabot/python/update_checker_spec.rb'
- 'terraform/spec/dependabot/terraform/file_parser_spec.rb'
- 'updater/spec/dependabot/dependency_snapshot_spec.rb'
# Offense count: 4
RSpec/RepeatedExample:
Exclude:
- 'nuget/spec/dependabot/nuget/update_checker/repository_finder_spec.rb'
- 'terraform/spec/dependabot/terraform/registry_client_spec.rb'
# Offense count: 8
RSpec/RepeatedExampleGroupBody:
Exclude:
- 'cargo/spec/dependabot/cargo/file_fetcher_spec.rb'
- 'composer/spec/dependabot/composer/update_checker/latest_version_finder_spec.rb'
- 'maven/spec/dependabot/maven_spec.rb'
- 'pub/spec/dependabot/pub/requirements_spec.rb'
# Offense count: 45
RSpec/RepeatedExampleGroupDescription:
Enabled: false
# Offense count: 10
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- 'bundler/helpers/v2/spec/ruby_version_spec.rb'
- 'bundler/spec/dependabot/bundler/helper_spec.rb'
- 'common/spec/dependabot/clients/codecommit_spec.rb'
- 'elm/spec/dependabot/elm/update_checker/elm_19_version_resolver_spec.rb'
- 'nuget/spec/dependabot/nuget/nuget_config_credential_helpers_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/compatibility_checker_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/nupkg_fetcher_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/nuspec_fetcher_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/repository_finder_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker/tfm_finder_spec.rb'
# Offense count: 50
RSpec/StubbedMock:
Exclude:
- 'bundler/spec/dependabot/bundler/update_checker_spec.rb'
- 'common/spec/dependabot/pull_request_creator/branch_namer_spec.rb'
- 'common/spec/dependabot/pull_request_creator_spec.rb'
- 'common/spec/dependabot/pull_request_updater_spec.rb'
- 'docker/spec/dependabot/docker/utils/credentials_finder_spec.rb'
- 'go_modules/spec/dependabot/go_modules/file_updater_spec.rb'
- 'npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb'
- 'nuget/spec/dependabot/nuget/update_checker_spec.rb'
- 'python/spec/dependabot/python/file_updater_spec.rb'
- 'python/spec/dependabot/python/update_checker_spec.rb'
- 'updater/spec/dependabot/update_files_command_spec.rb'
- 'updater/spec/dependabot/updater_spec.rb'
# Offense count: 28
RSpec/SubjectStub:
Exclude:
- 'common/spec/dependabot/metadata_finders/base/commits_finder_spec.rb'
- 'common/spec/dependabot/metadata_finders/base_spec.rb'
- 'common/spec/dependabot/pull_request_updater/azure_spec.rb'
- 'updater/spec/dependabot/environment_spec.rb'
- 'updater/spec/dependabot/sentry/exception_sanitizer_processor_spec.rb'
- 'updater/spec/dependabot/sentry/sentry_context_processor_spec.rb'
# Offense count: 2
RSpec/UnspecifiedException:
Exclude:
- 'updater/spec/dependabot/job_spec.rb'
# Offense count: 26
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'common/spec/dependabot/git_commit_checker_spec.rb'
- 'common/spec/dependabot/git_metadata_fetcher_spec.rb'
- 'common/spec/dependabot/metadata_finders/base/commits_finder_spec.rb'
- 'common/spec/dependabot/pull_request_creator/branch_namer_spec.rb'
- 'common/spec/dependabot/pull_request_creator/github_spec.rb'
- 'github_actions/spec/dependabot/github_actions/update_checker_spec.rb'
- 'go_modules/spec/dependabot/go_modules/file_updater/go_mod_updater_spec.rb'
- 'go_modules/spec/dependabot/go_modules/file_updater_spec.rb'
- 'python/spec/dependabot/python/file_updater_spec.rb'
- 'updater/spec/dependabot/file_fetcher_command_spec.rb'
- 'updater/spec/dependabot/sentry/sentry_context_processor_spec.rb'
- 'updater/spec/dependabot/update_files_command_spec.rb'