diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 823ec3a944..7ede5ac16f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1400 --no-auto-gen-timestamp` -# using RuboCop version 1.56.0. +# using RuboCop version 1.56.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -98,12 +98,6 @@ Lint/NoReturnInBeginEndBlocks: Exclude: - 'app/controllers/payment_gateways/stripe_controller.rb' -# Offense count: 2 -# This cop supports unsafe autocorrection (--autocorrect-all). -Lint/NonAtomicFileOperation: - Exclude: - - 'app/services/bulk_invoice_service.rb' - # Offense count: 4 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/RedundantDirGlobSort: @@ -192,7 +186,7 @@ Metrics/BlockNesting: Exclude: - 'app/models/spree/payment/processing.rb' -# Offense count: 45 +# Offense count: 43 # Configuration parameters: CountComments, Max, CountAsOne. Metrics/ClassLength: Exclude: @@ -729,6 +723,12 @@ Rails/WhereExists: - 'lib/tasks/sample_data/order_cycle_factory.rb' - 'lib/tasks/sample_data/taxon_factory.rb' +# Offense count: 3 +# This cop supports safe autocorrection (--autocorrect). +Rails/WhereNot: + Exclude: + - 'lib/reporting/reports/users_and_enterprises/base.rb' + # Offense count: 1 Security/Open: Exclude: @@ -871,7 +871,7 @@ Style/HashLikeCase: Exclude: - 'app/models/enterprise.rb' -# Offense count: 1784 +# Offense count: 1767 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys @@ -1055,7 +1055,6 @@ Style/HashSyntax: - 'spec/controllers/payment_gateways/stripe_controller_spec.rb' - 'spec/controllers/split_checkout_controller_spec.rb' - 'spec/controllers/spree/admin/adjustments_controller_spec.rb' - - 'spec/controllers/spree/admin/invoices_controller_spec.rb' - 'spec/controllers/spree/admin/orders/customer_details_controller_spec.rb' - 'spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb' - 'spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb'