1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config --exclude-limit 99999`
3
- # on 2022-10-12 03:59:15 UTC using RuboCop version 1.36.0.
3
+ # on 2022-10-12 04:57:08 UTC using RuboCop version 1.36.0.
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: 1
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: Include.
12
- # Include: **/*.gemspec
13
- Gemspec/DeprecatedAttributeAssignment :
14
- Exclude :
15
- - ' ruboty-github.gemspec'
16
-
17
- # Offense count: 3
18
- # This cop supports safe autocorrection (--autocorrect).
19
- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
20
- # Include: **/*.gemspec
21
- Gemspec/OrderedDependencies :
22
- Exclude :
23
- - ' ruboty-github.gemspec'
24
-
25
- # Offense count: 1
26
- # This cop supports safe autocorrection (--autocorrect).
27
- # Configuration parameters: Include.
28
- # Include: **/*.gemspec
29
- Gemspec/RequireMFA :
30
- Exclude :
31
- - ' ruboty-github.gemspec'
32
-
33
9
# Offense count: 1
34
10
# Configuration parameters: Include.
35
11
# Include: **/*.gemspec
36
12
Gemspec/RequiredRubyVersion :
37
13
Exclude :
38
14
- ' ruboty-github.gemspec'
39
15
40
- # Offense count: 6
41
- # This cop supports safe autocorrection (--autocorrect).
42
- # Configuration parameters: EnforcedStyle.
43
- # SupportedStyles: leading, trailing
44
- Layout/DotPosition :
45
- Exclude :
46
- - ' spec/ruboty/handlers/github_spec.rb'
47
-
48
- # Offense count: 1
49
- # This cop supports safe autocorrection (--autocorrect).
50
- # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
51
- Layout/IndentationWidth :
52
- Exclude :
53
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
54
-
55
- # Offense count: 1
56
- # This cop supports safe autocorrection (--autocorrect).
57
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
58
- # SupportedStyles: space, no_space
59
- # SupportedStylesForEmptyBraces: space, no_space
60
- Layout/SpaceInsideBlockBraces :
61
- Exclude :
62
- - ' lib/ruboty/github/actions/base.rb'
63
-
64
- # Offense count: 1
65
- # This cop supports safe autocorrection (--autocorrect).
66
- # Configuration parameters: EnforcedStyle.
67
- # SupportedStyles: final_newline, final_blank_line
68
- Layout/TrailingEmptyLines :
69
- Exclude :
70
- - ' Rakefile'
71
-
72
16
# Offense count: 1
73
17
Lint/UnreachableCode :
74
18
Exclude :
75
19
- ' lib/ruboty/github/actions/close_issue.rb'
76
20
77
- # Offense count: 1
78
- # This cop supports safe autocorrection (--autocorrect).
79
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
80
- Lint/UnusedBlockArgument :
81
- Exclude :
82
- - ' lib/ruboty/github/actions/base.rb'
83
-
84
21
# Offense count: 1
85
22
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
86
23
Metrics/AbcSize :
@@ -89,7 +26,7 @@ Metrics/AbcSize:
89
26
# Offense count: 2
90
27
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
91
28
Metrics/MethodLength :
92
- Max : 15
29
+ Max : 14
93
30
94
31
# Offense count: 2
95
32
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
@@ -103,22 +40,6 @@ Naming/PredicateName:
103
40
- ' lib/ruboty/github/actions/base.rb'
104
41
- ' lib/ruboty/github/actions/close_issue.rb'
105
42
106
- # Offense count: 4
107
- # This cop supports safe autocorrection (--autocorrect).
108
- # Configuration parameters: PreferredName.
109
- Naming/RescuedExceptionsVariableName :
110
- Exclude :
111
- - ' lib/ruboty/github/actions/close_issue.rb'
112
- - ' lib/ruboty/github/actions/create_issue.rb'
113
- - ' lib/ruboty/github/actions/create_pull_request.rb'
114
- - ' lib/ruboty/github/actions/search_issues.rb'
115
-
116
- # Offense count: 2
117
- # This cop supports safe autocorrection (--autocorrect).
118
- Performance/ConstantRegexp :
119
- Exclude :
120
- - ' lib/ruboty/handlers/github.rb'
121
-
122
43
# Offense count: 3
123
44
# Configuration parameters: .
124
45
# SupportedStyles: have_received, receive
@@ -139,12 +60,6 @@ RSpec/NoExpectationExample:
139
60
Exclude :
140
61
- ' spec/ruboty/handlers/github_spec.rb'
141
62
142
- # Offense count: 1
143
- # This cop supports unsafe autocorrection (--autocorrect-all).
144
- Style/CollectionCompact :
145
- Exclude :
146
- - ' lib/ruboty/github/actions/base.rb'
147
-
148
63
# Offense count: 9
149
64
# Configuration parameters: AllowedConstants.
150
65
Style/Documentation :
@@ -161,134 +76,6 @@ Style/Documentation:
161
76
- ' lib/ruboty/github/actions/search_issues.rb'
162
77
- ' lib/ruboty/handlers/github.rb'
163
78
164
- # Offense count: 2
165
- # This cop supports safe autocorrection (--autocorrect).
166
- Style/EmptyCaseCondition :
167
- Exclude :
168
- - ' lib/ruboty/github/actions/base.rb'
169
- - ' lib/ruboty/github/actions/close_issue.rb'
170
-
171
- # Offense count: 1
172
- # This cop supports safe autocorrection (--autocorrect).
173
- Style/ExpandPathArguments :
174
- Exclude :
175
- - ' ruboty-github.gemspec'
176
-
177
- # Offense count: 4
178
- # This cop supports safe autocorrection (--autocorrect).
179
- # Configuration parameters: AllowedVars.
180
- Style/FetchEnvVar :
181
- Exclude :
182
- - ' lib/ruboty/github/actions/base.rb'
183
-
184
- # Offense count: 16
185
- # This cop supports unsafe autocorrection (--autocorrect-all).
186
- # Configuration parameters: EnforcedStyle.
187
- # SupportedStyles: always, always_true, never
188
- Style/FrozenStringLiteralComment :
189
- Exclude :
190
- - ' Gemfile'
191
- - ' Rakefile'
192
- - ' lib/ruboty/github.rb'
193
- - ' lib/ruboty/github/actions/base.rb'
194
- - ' lib/ruboty/github/actions/close_issue.rb'
195
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
196
- - ' lib/ruboty/github/actions/create_issue.rb'
197
- - ' lib/ruboty/github/actions/create_pull_request.rb'
198
- - ' lib/ruboty/github/actions/merge_pull_request.rb'
199
- - ' lib/ruboty/github/actions/remember.rb'
200
- - ' lib/ruboty/github/actions/search_issues.rb'
201
- - ' lib/ruboty/github/version.rb'
202
- - ' lib/ruboty/handlers/github.rb'
203
- - ' ruboty-github.gemspec'
204
- - ' spec/ruboty/handlers/github_spec.rb'
205
- - ' spec/spec_helper.rb'
206
-
207
- # Offense count: 1
208
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
209
- Style/GuardClause :
210
- Exclude :
211
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
212
-
213
- # Offense count: 1
214
- # This cop supports safe autocorrection (--autocorrect).
215
- Style/IfUnlessModifier :
216
- Exclude :
217
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
218
-
219
- # Offense count: 3
220
- # This cop supports unsafe autocorrection (--autocorrect-all).
221
- # Configuration parameters: EnforcedStyle.
222
- # SupportedStyles: literals, strict
223
- Style/MutableConstant :
224
- Exclude :
225
- - ' lib/ruboty/github/actions/base.rb'
226
- - ' lib/ruboty/github/version.rb'
227
- - ' lib/ruboty/handlers/github.rb'
228
-
229
- # Offense count: 3
230
- # This cop supports safe autocorrection (--autocorrect).
231
- # Configuration parameters: PreferredDelimiters.
232
- Style/PercentLiteralDelimiters :
233
- Exclude :
234
- - ' lib/ruboty/handlers/github.rb'
235
- - ' spec/ruboty/handlers/github_spec.rb'
236
-
237
- # Offense count: 1
238
- # This cop supports safe autocorrection (--autocorrect).
239
- Style/PerlBackrefs :
240
- Exclude :
241
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
242
-
243
- # Offense count: 4
244
- # This cop supports safe autocorrection (--autocorrect).
245
- # Configuration parameters: EnforcedStyle.
246
- # SupportedStyles: implicit, explicit
247
- Style/RescueStandardError :
248
- Exclude :
249
- - ' lib/ruboty/github/actions/close_issue.rb'
250
- - ' lib/ruboty/github/actions/create_issue.rb'
251
- - ' lib/ruboty/github/actions/create_pull_request.rb'
252
- - ' lib/ruboty/github/actions/search_issues.rb'
253
-
254
- # Offense count: 109
255
- # This cop supports safe autocorrection (--autocorrect).
256
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
257
- # SupportedStyles: single_quotes, double_quotes
258
- Style/StringLiterals :
259
- Exclude :
260
- - ' Rakefile'
261
- - ' lib/ruboty/github.rb'
262
- - ' lib/ruboty/github/actions/base.rb'
263
- - ' lib/ruboty/github/actions/close_issue.rb'
264
- - ' lib/ruboty/github/actions/create_deploy_pull_request.rb'
265
- - ' lib/ruboty/github/actions/create_issue.rb'
266
- - ' lib/ruboty/github/actions/create_pull_request.rb'
267
- - ' lib/ruboty/github/actions/search_issues.rb'
268
- - ' lib/ruboty/github/version.rb'
269
- - ' lib/ruboty/handlers/github.rb'
270
- - ' ruboty-github.gemspec'
271
- - ' spec/ruboty/handlers/github_spec.rb'
272
- - ' spec/spec_helper.rb'
273
-
274
- # Offense count: 13
275
- # This cop supports safe autocorrection (--autocorrect).
276
- # Configuration parameters: EnforcedStyleForMultiline.
277
- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
278
- Style/TrailingCommaInArguments :
279
- Exclude :
280
- - ' lib/ruboty/handlers/github.rb'
281
- - ' spec/ruboty/handlers/github_spec.rb'
282
-
283
- # Offense count: 6
284
- # This cop supports safe autocorrection (--autocorrect).
285
- # Configuration parameters: EnforcedStyleForMultiline.
286
- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
287
- Style/TrailingCommaInHashLiteral :
288
- Exclude :
289
- - ' lib/ruboty/github/actions/base.rb'
290
- - ' spec/ruboty/handlers/github_spec.rb'
291
-
292
79
# Offense count: 1
293
80
# This cop supports safe autocorrection (--autocorrect).
294
81
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
0 commit comments