update rubocop_todo.yml
This commit is contained in:
parent
255744268b
commit
e68738c154
1 changed files with 14 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config`
|
# `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
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
|
|
@ -57,11 +57,11 @@ Lint/UnusedBlockArgument:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/tasks/user.rake'
|
- 'lib/tasks/user.rake'
|
||||||
|
|
||||||
# Offense count: 109
|
# Offense count: 108
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
Max: 75
|
Max: 75
|
||||||
|
|
||||||
# Offense count: 201
|
# Offense count: 202
|
||||||
# Configuration parameters: CountComments, ExcludedMethods.
|
# Configuration parameters: CountComments, ExcludedMethods.
|
||||||
Metrics/BlockLength:
|
Metrics/BlockLength:
|
||||||
Max: 487
|
Max: 487
|
||||||
|
|
@ -70,13 +70,13 @@ Metrics/BlockLength:
|
||||||
Metrics/CyclomaticComplexity:
|
Metrics/CyclomaticComplexity:
|
||||||
Max: 12
|
Max: 12
|
||||||
|
|
||||||
# Offense count: 1990
|
# Offense count: 1991
|
||||||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||||||
# URISchemes: http, https
|
# URISchemes: http, https
|
||||||
Metrics/LineLength:
|
Metrics/LineLength:
|
||||||
Max: 619
|
Max: 619
|
||||||
|
|
||||||
# Offense count: 117
|
# Offense count: 115
|
||||||
# Configuration parameters: CountComments.
|
# Configuration parameters: CountComments.
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
Max: 56
|
Max: 56
|
||||||
|
|
@ -89,7 +89,7 @@ Metrics/ModuleLength:
|
||||||
- 'app/helpers/application_helper.rb'
|
- 'app/helpers/application_helper.rb'
|
||||||
|
|
||||||
|
|
||||||
# Offense count: 15
|
# Offense count: 14
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Max: 15
|
Max: 15
|
||||||
|
|
||||||
|
|
@ -312,7 +312,7 @@ Style/CommentIndentation:
|
||||||
- 'app/models/track.rb'
|
- 'app/models/track.rb'
|
||||||
- 'spec/features/volunteers_spec.rb'
|
- 'spec/features/volunteers_spec.rb'
|
||||||
|
|
||||||
# Offense count: 8
|
# Offense count: 3
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
||||||
# SupportedStyles: assign_to_condition, assign_inside_condition
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
||||||
|
|
@ -327,7 +327,7 @@ Style/ConditionalAssignment:
|
||||||
- 'db/migrate/20140610165551_migrate_data_person_to_user.rb'
|
- 'db/migrate/20140610165551_migrate_data_person_to_user.rb'
|
||||||
- 'db/migrate/20140820124117_undo_wrong_migration20140801080705_add_users_to_events.rb'
|
- 'db/migrate/20140820124117_undo_wrong_migration20140801080705_add_users_to_events.rb'
|
||||||
|
|
||||||
# Offense count: 435
|
# Offense count: 436
|
||||||
Style/Documentation:
|
Style/Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
|
@ -341,8 +341,8 @@ Style/ElseAlignment:
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Style/EmptyCaseCondition:
|
Style/EmptyCaseCondition:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/change_description_helper.rb'
|
|
||||||
- 'app/helpers/format_helper.rb'
|
- 'app/helpers/format_helper.rb'
|
||||||
|
- 'app/helpers/versions_helper.rb'
|
||||||
|
|
||||||
# Offense count: 1
|
# Offense count: 1
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
|
|
@ -350,7 +350,7 @@ Style/EmptyLineAfterMagicComment:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/models/conference_spec.rb'
|
- 'spec/models/conference_spec.rb'
|
||||||
|
|
||||||
# Offense count: 106
|
# Offense count: 109
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
# SupportedStyles: empty_lines, no_empty_lines
|
# SupportedStyles: empty_lines, no_empty_lines
|
||||||
|
|
@ -435,7 +435,7 @@ Style/IfUnlessModifier:
|
||||||
- 'app/controllers/api/v1/events_controller.rb'
|
- 'app/controllers/api/v1/events_controller.rb'
|
||||||
- 'app/controllers/conference_registrations_controller.rb'
|
- 'app/controllers/conference_registrations_controller.rb'
|
||||||
- 'app/controllers/users/omniauth_callbacks_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/commercial.rb'
|
||||||
- 'app/models/conference.rb'
|
- 'app/models/conference.rb'
|
||||||
- 'app/models/ticket_purchase.rb'
|
- 'app/models/ticket_purchase.rb'
|
||||||
|
|
@ -556,7 +556,7 @@ Style/MultilineIfModifier:
|
||||||
Style/MultilineMethodCallBraceLayout:
|
Style/MultilineMethodCallBraceLayout:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 53
|
# Offense count: 55
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||||||
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
||||||
|
|
@ -605,7 +605,7 @@ Style/NumericLiteralPrefix:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
||||||
- 'spec/controllers/conference_registration_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/conference_spec.rb'
|
||||||
- 'spec/models/email_settings_spec.rb'
|
- 'spec/models/email_settings_spec.rb'
|
||||||
- 'spec/models/registration_spec.rb'
|
- 'spec/models/registration_spec.rb'
|
||||||
|
|
@ -889,14 +889,12 @@ Style/TernaryParentheses:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/format_helper.rb'
|
- 'app/helpers/format_helper.rb'
|
||||||
|
|
||||||
# Offense count: 4
|
# Offense count: 2
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
# SupportedStyles: final_newline, final_blank_line
|
# SupportedStyles: final_newline, final_blank_line
|
||||||
Style/TrailingBlankLines:
|
Style/TrailingBlankLines:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/change_description_helper.rb'
|
|
||||||
- 'app/helpers/paths_helper.rb'
|
|
||||||
- 'lib/tasks/event_attatchments.rake'
|
- 'lib/tasks/event_attatchments.rake'
|
||||||
- 'lib/tasks/roles.rake'
|
- 'lib/tasks/roles.rake'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue