Regenerate the todo file

It is a good idea to do this once in a while, so that files that used to
have offenses but don't have them anymore are not excluded and to
decrease the maximums in the metric cops.
This commit is contained in:
Ana María Martínez Gómez 2019-04-29 16:31:29 +02:00
parent e31d848e75
commit 33e11e3efa
No known key found for this signature in database
GPG key ID: EACB9B4BC80C0347

View file

@ -1,12 +1,13 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-08 16:06:53 +0000 using RuboCop version 0.65.0.
# on 2019-04-29 14:27:51 +0000 using RuboCop version 0.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: 351
# Cop supports --auto-correct.
Capybara/CurrentPathExpectation:
Exclude:
- 'spec/features/base_controller_spec.rb'
@ -77,7 +78,7 @@ Layout/EmptyLinesAroundExceptionHandlingKeywords:
# Offense count: 52
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Exclude:
- 'Guardfile'
@ -181,7 +182,7 @@ Layout/MultilineHashBraceLayout:
Layout/MultilineMethodCallBraceLayout:
Enabled: false
# Offense count: 53
# Offense count: 56
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented, indented_relative_to_receiver
@ -402,15 +403,15 @@ Lint/UnusedMethodArgument:
Exclude:
- 'config/initializers/fuckups.rb'
# Offense count: 138
# Offense count: 136
Metrics/AbcSize:
Max: 74
Max: 70
# Offense count: 312
# Offense count: 314
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 1347
Max: 1344
# Offense count: 1
# Configuration parameters: CountBlocks, Max.
@ -517,7 +518,7 @@ RSpec/AnyInstance:
- 'spec/controllers/proposals_controller_spec.rb'
- 'spec/controllers/tracks_controller_spec.rb'
# Offense count: 314
# Offense count: 315
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
@ -636,7 +637,7 @@ RSpec/FilePath:
- 'spec/models/comment_spec.rb'
- 'spec/models/openid.rb'
# Offense count: 170
# Offense count: 171
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
@ -709,7 +710,7 @@ RSpec/LeadingSubject:
- 'spec/models/conference_spec.rb'
- 'spec/models/ticket_spec.rb'
# Offense count: 50
# Offense count: 55
RSpec/LetSetup:
Enabled: false
@ -730,6 +731,7 @@ RSpec/MultipleExpectations:
Max: 97
# Offense count: 387
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec/models/conference_spec.rb'
@ -923,7 +925,7 @@ Rails/HasManyOrHasOneDependent:
- 'app/models/vday.rb'
- 'app/models/vposition.rb'
# Offense count: 249
# Offense count: 251
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: spec/**/*, test/**/*
@ -1028,7 +1030,8 @@ Rails/SkipsModelValidations:
- 'lib/tasks/user.rake'
- 'spec/controllers/conferences_controller_spec.rb'
# Offense count: 49
# Offense count: 48
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
@ -1040,7 +1043,6 @@ Rails/TimeZone:
- 'db/migrate/20180313012253_add_timestamps_to_tickets.rb'
- 'lib/tasks/dump_db.rake'
- 'spec/controllers/admin/comments_controller_spec.rb'
- 'spec/controllers/admin/programs_controller_spec.rb'
- 'spec/factories/users.rb'
- 'spec/models/conference_spec.rb'
@ -1167,7 +1169,7 @@ Style/HashSyntax:
Style/IfUnlessModifier:
Enabled: false
# Offense count: 8
# Offense count: 10
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Exclude:
@ -1457,7 +1459,7 @@ Style/WordArray:
EnforcedStyle: percent
MinSize: 8
# Offense count: 2887
# Offense count: 2864
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength: