update rubocop_todo.yml

This commit is contained in:
Agrim Mittal 2017-05-06 17:48:27 +05:30 committed by Stella Rouzi
parent 255744268b
commit e68738c154

View file

@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-05-06 15:57:26 +0530 using RuboCop version 0.48.1.
# on 2017-05-06 17:45:40 +0530 using RuboCop version 0.48.1.
# 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
@ -57,11 +57,11 @@ Lint/UnusedBlockArgument:
Exclude:
- 'lib/tasks/user.rake'
# Offense count: 109
# Offense count: 108
Metrics/AbcSize:
Max: 75
# Offense count: 201
# Offense count: 202
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 487
@ -70,13 +70,13 @@ Metrics/BlockLength:
Metrics/CyclomaticComplexity:
Max: 12
# Offense count: 1990
# Offense count: 1991
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 619
# Offense count: 117
# Offense count: 115
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 56
@ -89,7 +89,7 @@ Metrics/ModuleLength:
- 'app/helpers/application_helper.rb'
# Offense count: 15
# Offense count: 14
Metrics/PerceivedComplexity:
Max: 15
@ -312,7 +312,7 @@ Style/CommentIndentation:
- 'app/models/track.rb'
- 'spec/features/volunteers_spec.rb'
# Offense count: 8
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
@ -327,7 +327,7 @@ Style/ConditionalAssignment:
- 'db/migrate/20140610165551_migrate_data_person_to_user.rb'
- 'db/migrate/20140820124117_undo_wrong_migration20140801080705_add_users_to_events.rb'
# Offense count: 435
# Offense count: 436
Style/Documentation:
Enabled: false
@ -341,8 +341,8 @@ Style/ElseAlignment:
# Cop supports --auto-correct.
Style/EmptyCaseCondition:
Exclude:
- 'app/helpers/change_description_helper.rb'
- 'app/helpers/format_helper.rb'
- 'app/helpers/versions_helper.rb'
# Offense count: 1
# Cop supports --auto-correct.
@ -350,7 +350,7 @@ Style/EmptyLineAfterMagicComment:
Exclude:
- 'spec/models/conference_spec.rb'
# Offense count: 106
# Offense count: 109
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty_lines, no_empty_lines
@ -435,7 +435,7 @@ Style/IfUnlessModifier:
- 'app/controllers/api/v1/events_controller.rb'
- 'app/controllers/conference_registrations_controller.rb'
- 'app/controllers/users/omniauth_callbacks_controller.rb'
- 'app/helpers/format_helper.rb'
- 'app/helpers/application_helper.rb'
- 'app/models/commercial.rb'
- 'app/models/conference.rb'
- 'app/models/ticket_purchase.rb'
@ -556,7 +556,7 @@ Style/MultilineIfModifier:
Style/MultilineMethodCallBraceLayout:
Enabled: false
# Offense count: 53
# Offense count: 55
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented, indented_relative_to_receiver
@ -605,7 +605,7 @@ Style/NumericLiteralPrefix:
Exclude:
- 'spec/controllers/admin/conferences_controller_spec.rb'
- 'spec/controllers/conference_registration_controller_spec.rb'
- 'spec/helpers/application_helper_spec.rb'
- 'spec/helpers/date_time_helper_spec.rb'
- 'spec/models/conference_spec.rb'
- 'spec/models/email_settings_spec.rb'
- 'spec/models/registration_spec.rb'
@ -889,14 +889,12 @@ Style/TernaryParentheses:
Exclude:
- 'app/helpers/format_helper.rb'
# Offense count: 4
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: final_newline, final_blank_line
Style/TrailingBlankLines:
Exclude:
- 'app/helpers/change_description_helper.rb'
- 'app/helpers/paths_helper.rb'
- 'lib/tasks/event_attatchments.rake'
- 'lib/tasks/roles.rake'