1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2020-04-05 20:42:06 +0900 using RuboCop version 0.68.1.
3
+ # on 2020-04-06 10:14:15 +0900 using RuboCop version 0.68.1.
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
@@ -72,14 +72,6 @@ Layout/MultilineOperationIndentation:
72
72
Exclude :
73
73
- ' lib/annotate/annotate_models.rb'
74
74
75
- # Offense count: 1
76
- # Cop supports --auto-correct.
77
- # Configuration parameters: EnforcedStyle.
78
- # SupportedStyles: space, no_space
79
- Layout/SpaceAroundEqualsInParameterDefault :
80
- Exclude :
81
- - ' lib/annotate/annotate_routes.rb'
82
-
83
75
# Offense count: 6
84
76
# Cop supports --auto-correct.
85
77
# Configuration parameters: AllowForAlignment.
@@ -179,7 +171,7 @@ Lint/ShadowingOuterLocalVariable:
179
171
Exclude :
180
172
- ' Rakefile'
181
173
182
- # Offense count: 22
174
+ # Offense count: 21
183
175
Metrics/AbcSize :
184
176
Max : 103
185
177
@@ -198,7 +190,7 @@ Metrics/BlockNesting:
198
190
Metrics/CyclomaticComplexity :
199
191
Max : 25
200
192
201
- # Offense count: 30
193
+ # Offense count: 28
202
194
# Configuration parameters: CountComments, ExcludedMethods.
203
195
Metrics/MethodLength :
204
196
Max : 40
@@ -212,34 +204,28 @@ Naming/AccessorMethodName:
212
204
Exclude :
213
205
- ' lib/annotate.rb'
214
206
215
- # Offense count: 102
207
+ # Offense count: 103
216
208
# Configuration parameters: Blacklist.
217
209
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
218
210
Naming/HeredocDelimiterNaming :
219
211
Exclude :
220
212
- ' spec/lib/annotate/annotate_models_spec.rb'
221
213
- ' spec/lib/annotate/annotate_routes_spec.rb'
222
214
223
- # Offense count: 1
224
- # Configuration parameters: EnforcedStyleForLeadingUnderscores.
225
- # SupportedStylesForLeadingUnderscores: disallowed, required, optional
226
- Naming/MemoizedInstanceVariableName :
227
- Exclude :
228
- - ' lib/annotate/annotate_routes.rb'
229
-
230
215
# Offense count: 1
231
216
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
232
217
# AllowedNames: io, id, to, by, on, in, at, ip, db
233
218
Naming/UncommunicativeMethodParamName :
234
219
Exclude :
235
220
- ' Rakefile'
236
221
237
- # Offense count: 2
222
+ # Offense count: 3
238
223
# Configuration parameters: EnforcedStyle.
239
224
# SupportedStyles: inline, group
240
225
Style/AccessModifierDeclarations :
241
226
Exclude :
242
227
- ' lib/annotate/annotate_models.rb'
228
+ - ' lib/annotate/annotate_routes/base_processor.rb'
243
229
- ' lib/annotate/annotate_routes/header_generator.rb'
244
230
245
231
# Offense count: 1
@@ -266,17 +252,14 @@ Style/Dir:
266
252
Exclude :
267
253
- ' bin/annotate'
268
254
269
- # Offense count: 10
255
+ # Offense count: 7
270
256
Style/Documentation :
271
257
Exclude :
272
258
- ' spec/**/*'
273
259
- ' test/**/*'
274
260
- ' lib/annotate.rb'
275
261
- ' lib/annotate/active_record_patch.rb'
276
262
- ' lib/annotate/annotate_models.rb'
277
- - ' lib/annotate/annotate_routes.rb'
278
- - ' lib/annotate/annotate_routes/header_generator.rb'
279
- - ' lib/annotate/annotate_routes/helpers.rb'
280
263
- ' lib/annotate/version.rb'
281
264
- ' lib/generators/annotate/install_generator.rb'
282
265
- ' lib/tasks/annotate_models_migrate.rake'
@@ -309,7 +292,7 @@ Style/FormatStringToken:
309
292
Exclude :
310
293
- ' lib/annotate/annotate_models.rb'
311
294
312
- # Offense count: 28
295
+ # Offense count: 31
313
296
# Cop supports --auto-correct.
314
297
# Configuration parameters: EnforcedStyle.
315
298
# SupportedStyles: when_needed, always, never
@@ -392,7 +375,7 @@ Style/PercentLiteralDelimiters:
392
375
Exclude :
393
376
- ' annotate.gemspec'
394
377
- ' lib/annotate/annotate_models.rb'
395
- - ' lib/annotate/annotate_routes.rb'
378
+ - ' lib/annotate/annotate_routes/annotation_processor .rb'
396
379
- ' lib/tasks/annotate_models_migrate.rake'
397
380
- ' spec/lib/annotate/annotate_models_spec.rb'
398
381
- ' spec/lib/tasks/annotate_models_migrate_spec.rb'
@@ -423,7 +406,7 @@ Style/RedundantParentheses:
423
406
# Configuration parameters: AllowMultipleReturnValues.
424
407
Style/RedundantReturn :
425
408
Exclude :
426
- - ' lib/annotate/annotate_routes/helpers .rb'
409
+ - ' lib/annotate/annotate_routes/base_processor .rb'
427
410
428
411
# Offense count: 2
429
412
# Cop supports --auto-correct.
@@ -484,7 +467,7 @@ Style/StringLiterals:
484
467
- ' spec/lib/annotate/annotate_models_spec.rb'
485
468
- ' spec/lib/annotate/parser_spec.rb'
486
469
487
- # Offense count: 1
470
+ # Offense count: 2
488
471
# Cop supports --auto-correct.
489
472
# Configuration parameters: EnforcedStyle.
490
473
# SupportedStyles: single_quotes, double_quotes
@@ -519,7 +502,7 @@ Style/UnneededPercentQ:
519
502
Exclude :
520
503
- ' annotate.gemspec'
521
504
522
- # Offense count: 377
505
+ # Offense count: 380
523
506
# Cop supports --auto-correct.
524
507
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
525
508
# URISchemes: http, https
0 commit comments