Skip to content

Commit 6326def

Browse files
committed
Execute rubocop --auto-gen-config
1 parent c2b1edf commit 6326def

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed

.rubocop_todo.yml

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `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.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -72,14 +72,6 @@ Layout/MultilineOperationIndentation:
7272
Exclude:
7373
- 'lib/annotate/annotate_models.rb'
7474

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-
8375
# Offense count: 6
8476
# Cop supports --auto-correct.
8577
# Configuration parameters: AllowForAlignment.
@@ -179,7 +171,7 @@ Lint/ShadowingOuterLocalVariable:
179171
Exclude:
180172
- 'Rakefile'
181173

182-
# Offense count: 22
174+
# Offense count: 21
183175
Metrics/AbcSize:
184176
Max: 103
185177

@@ -198,7 +190,7 @@ Metrics/BlockNesting:
198190
Metrics/CyclomaticComplexity:
199191
Max: 25
200192

201-
# Offense count: 30
193+
# Offense count: 28
202194
# Configuration parameters: CountComments, ExcludedMethods.
203195
Metrics/MethodLength:
204196
Max: 40
@@ -212,34 +204,28 @@ Naming/AccessorMethodName:
212204
Exclude:
213205
- 'lib/annotate.rb'
214206

215-
# Offense count: 102
207+
# Offense count: 103
216208
# Configuration parameters: Blacklist.
217209
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
218210
Naming/HeredocDelimiterNaming:
219211
Exclude:
220212
- 'spec/lib/annotate/annotate_models_spec.rb'
221213
- 'spec/lib/annotate/annotate_routes_spec.rb'
222214

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-
230215
# Offense count: 1
231216
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
232217
# AllowedNames: io, id, to, by, on, in, at, ip, db
233218
Naming/UncommunicativeMethodParamName:
234219
Exclude:
235220
- 'Rakefile'
236221

237-
# Offense count: 2
222+
# Offense count: 3
238223
# Configuration parameters: EnforcedStyle.
239224
# SupportedStyles: inline, group
240225
Style/AccessModifierDeclarations:
241226
Exclude:
242227
- 'lib/annotate/annotate_models.rb'
228+
- 'lib/annotate/annotate_routes/base_processor.rb'
243229
- 'lib/annotate/annotate_routes/header_generator.rb'
244230

245231
# Offense count: 1
@@ -266,17 +252,14 @@ Style/Dir:
266252
Exclude:
267253
- 'bin/annotate'
268254

269-
# Offense count: 10
255+
# Offense count: 7
270256
Style/Documentation:
271257
Exclude:
272258
- 'spec/**/*'
273259
- 'test/**/*'
274260
- 'lib/annotate.rb'
275261
- 'lib/annotate/active_record_patch.rb'
276262
- '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'
280263
- 'lib/annotate/version.rb'
281264
- 'lib/generators/annotate/install_generator.rb'
282265
- 'lib/tasks/annotate_models_migrate.rake'
@@ -309,7 +292,7 @@ Style/FormatStringToken:
309292
Exclude:
310293
- 'lib/annotate/annotate_models.rb'
311294

312-
# Offense count: 28
295+
# Offense count: 31
313296
# Cop supports --auto-correct.
314297
# Configuration parameters: EnforcedStyle.
315298
# SupportedStyles: when_needed, always, never
@@ -392,7 +375,7 @@ Style/PercentLiteralDelimiters:
392375
Exclude:
393376
- 'annotate.gemspec'
394377
- 'lib/annotate/annotate_models.rb'
395-
- 'lib/annotate/annotate_routes.rb'
378+
- 'lib/annotate/annotate_routes/annotation_processor.rb'
396379
- 'lib/tasks/annotate_models_migrate.rake'
397380
- 'spec/lib/annotate/annotate_models_spec.rb'
398381
- 'spec/lib/tasks/annotate_models_migrate_spec.rb'
@@ -423,7 +406,7 @@ Style/RedundantParentheses:
423406
# Configuration parameters: AllowMultipleReturnValues.
424407
Style/RedundantReturn:
425408
Exclude:
426-
- 'lib/annotate/annotate_routes/helpers.rb'
409+
- 'lib/annotate/annotate_routes/base_processor.rb'
427410

428411
# Offense count: 2
429412
# Cop supports --auto-correct.
@@ -484,7 +467,7 @@ Style/StringLiterals:
484467
- 'spec/lib/annotate/annotate_models_spec.rb'
485468
- 'spec/lib/annotate/parser_spec.rb'
486469

487-
# Offense count: 1
470+
# Offense count: 2
488471
# Cop supports --auto-correct.
489472
# Configuration parameters: EnforcedStyle.
490473
# SupportedStyles: single_quotes, double_quotes
@@ -519,7 +502,7 @@ Style/UnneededPercentQ:
519502
Exclude:
520503
- 'annotate.gemspec'
521504

522-
# Offense count: 377
505+
# Offense count: 380
523506
# Cop supports --auto-correct.
524507
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
525508
# URISchemes: http, https

0 commit comments

Comments
 (0)