AllCops: # What version of Solidus is the inspected code using? If a value is specified # for TargetSolidusVersion then it is used. Acceptable values are specified # as a float (i.e. 3.1); the patch version of Solidus should not be included. # If TargetSolidusVersion is not set, RuboCop will parse the Gemfile.lock or # gems.locked file to find the version of Solidus that has been bound to the # application. If neither of those files exist, RuboCop will use Solidus 3.0 # as the default. TargetSolidusVersion: ~ Solidus/ClassEvalDecorator: Description: 'Checks if Class.class_eval is being used in the code' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/21' Solidus/ReimbursementHookDeprecated: Description: 'Checks if reimbursement_success_hooks and reimbursement_failed_hooks is being used' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/27' Solidus/SpreeCalculatorFreeShippingDeprecated: Description: 'Checks if Spree::Calculator::FreeShipping is being used and add deprecation message' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29' Solidus/SpreeCalculatorPercentPerItemDeprecated: Description: 'Checks if Spree::Calculator::PercentPerItem is being used and add deprecation message' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29' Solidus/SpreeCalculatorPriceSackDeprecated: Description: 'Checks if Spree::Calculator::PriceSack is being used and add deprecation message' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29' Solidus/SpreeDefaultCreditCardDeprecated: Description: 'Checks if user.default_credit_card is used and suggest using user.wallet.default_wallet_payment_source' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/33' Solidus/SpreeGatewayBogusDeprecated: Description: 'Checks if SpreeGatewayBogus is being used and replaces it with Spree::PaymentMethod::BogusCreditCard' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/26' Solidus/SpreeIconDeprecated: Description: 'Checks if icon helper is being used and suggest `solidus_icon`' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/32' Solidus/SpreeRefundCallPerform: Description: 'Checks if Spree::Refund.create is being used and require calling .perform!' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/28' Solidus/SpreeTDeprecated: Description: 'Checks if Spree.t is being used and replaces it with I18n.t.' Enabled: true VersionAdded: '0.1.0' Reference: 'https://github.com/solidusio/rubocop-solidus/issues/22'