Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoLombardo committed Jul 8, 2024
1 parent 4dd94cf commit 3784651
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .reek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ detectors:
InstanceVariableAssumption:
enabled: false

TooManyInstanceVariables:
exclude:
- GiftsController

exclude_paths:
- db/migrate
- app/controllers/gifts_controller.rb
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ AllCops:
- "db/schema.rb"
- "vendor/bundle/**/*"
- "db/migrate/*"
- "test/factories/*"

# Layout cops

Expand All @@ -35,6 +34,7 @@ Metrics/BlockLength:
- config/**/*
- spec/**/*
- app/admin/**/*
- test/factories/*

Metrics/BlockNesting:
Max: 4
Expand Down
1 change: 0 additions & 1 deletion app/controllers/gifts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def index

def show
@gift = Gift.find(params[:id])
# @gift = Gift.includes(:gift_products, :products).find(params[:id])
end

private
Expand Down

0 comments on commit 3784651

Please sign in to comment.