From 4e44e26c6c91fd8aa3d31a12dd0dcd5078f288b1 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 1 Mar 2017 11:22:59 +1300 Subject: [PATCH] Removed rubocop todos that are done --- .rubocop_todo.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a231b4e24..650a32c93 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -52,17 +52,11 @@ Lint/Void: - 'spec/models/garden_spec.rb' - 'spec/models/post_spec.rb' -# Offense count: 55 -# Configuration parameters: CountComments, ExcludedMethods. -Metrics/BlockLength: - Exclude: - - '**/*' # Offense count: 2 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - - 'app/models/planting.rb' - 'spec/rails_helper.rb' # Offense count: 4 @@ -129,8 +123,6 @@ Style/BarePercentLiterals: Style/BlockDelimiters: Exclude: - 'app/controllers/members_controller.rb' - - 'app/controllers/posts_controller.rb' - - 'app/controllers/scientific_names_controller.rb' - 'spec/controllers/order_items_controller_spec.rb' - 'spec/features/notifications_spec.rb' - 'spec/models/ability_spec.rb' @@ -146,7 +138,6 @@ Style/BlockDelimiters: Style/BlockEndNewline: Exclude: - 'app/controllers/members_controller.rb' - - 'app/controllers/posts_controller.rb' - 'spec/models/ability_spec.rb' - 'spec/models/member_spec.rb' - 'spec/models/planting_spec.rb' @@ -195,9 +186,7 @@ Style/EachForSimpleLoop: # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - - 'app/controllers/account_types_controller.rb' - 'app/controllers/accounts_controller.rb' - - 'app/controllers/gardens_controller.rb' - 'app/controllers/photos_controller.rb' - 'app/controllers/plant_parts_controller.rb' - 'app/controllers/posts_controller.rb' @@ -339,12 +328,6 @@ Style/PerlBackrefs: Exclude: - 'lib/haml/filters/growstuff_markdown.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Style/RedundantParentheses: - Exclude: - - 'app/helpers/plantings_helper.rb' - # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: @@ -386,14 +369,6 @@ Style/SymbolProc: - 'app/controllers/crops_controller.rb' - 'lib/tasks/growstuff.rake' -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment. -# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex -Style/TernaryParentheses: - Exclude: - - 'app/helpers/plantings_helper.rb' - # Offense count: 1 # Cop supports --auto-correct. Style/UnlessElse: