Skip to content

Commit

Permalink
Revert changes for Solidus/TaxCategoryDeprecated
Browse files Browse the repository at this point in the history
This pattern would result to a false positive.
  • Loading branch information
mcrisologo committed Jun 15, 2023
1 parent 85cc5d3 commit d89da6d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 121 deletions.
5 changes: 0 additions & 5 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,3 @@ Solidus/SpreeTDecprecated:
Description: 'Checks if Spree.t is being used and replaces it with I18n.t.'
Enabled: true
VersionAdded: '0.1.2'

Solidus/TaxCategoryDeprecated:
Description: 'Checks if .tax_category=Instance is being used and suggest to replace it with .tax_categories=<Array of Instances>'
Enabled: true
VersionAdded: '0.1.3'
32 changes: 0 additions & 32 deletions lib/rubocop/cop/solidus/tax_category_deprecated.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/rubocop/cop/solidus_cops.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
require_relative 'solidus/spree_icon_deprecated'
require_relative 'solidus/spree_refund_call_perform'
require_relative 'solidus/spree_t_decprecated'
require_relative 'solidus/tax_category_deprecated'

83 changes: 0 additions & 83 deletions spec/rubocop/cop/solidus/tax_category_deprecated_spec.rb

This file was deleted.

0 comments on commit d89da6d

Please sign in to comment.