Skip to content

Commit

Permalink
Update cops documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
the-krg committed Mar 6, 2024
1 parent 6245e36 commit b11e7fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cops_solidus.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ end

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged | Required Solidus Version
--- | --- | --- | --- | --- | ---
Enabled | Yes | No | <<next>> | - | 2.4
Enabled | Yes | No | 0.3 | - | 2.4

This cop finds .discounted_amount occurrences and suggest using .total_before_tax instead.

Expand Down Expand Up @@ -186,7 +186,7 @@ Spree::Calculator::PriceSack

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged | Required Solidus Version
--- | --- | --- | --- | --- | ---
Enabled | Yes | No | 0.1 | - | 2.11
Enabled | Yes | No | 0.3 | - | 2.11

This cop finds user.default_address or user.default_address and suggest
using user.ship_address or user.default_user_ship_address instead.
Expand Down Expand Up @@ -357,7 +357,7 @@ I18n.t('bar', scope: 'spree.admin.city')

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged | Required Solidus Version
--- | --- | --- | --- | --- | ---
Enabled | Yes | No | <<next>> | - | 2.2
Enabled | Yes | No | 0.3 | - | 2.2

This cop finds .tax_category occurrences and suggest using .tax_categories instead.

Expand Down

0 comments on commit b11e7fc

Please sign in to comment.