chore: disable RuboCop rules to keep Rails upgrade PR focused

- Disable Layout/EmptyLineAfterGuardClause
- Disable Performance/Count
- Fix Naming/PredicateMethod -> Naming/PredicateName
- Revert cosmetic RuboCop fixes to reduce PR size
This commit is contained in:
Sojan Jose
2025-08-14 13:30:39 +02:00
parent 00ac2519a2
commit 9d0e2bc258
17 changed files with 12 additions and 21 deletions
-1
View File
@@ -1,6 +1,5 @@
class Api::BaseController < ApplicationController
include AccessTokenAuthHelper
respond_to :json
before_action :authenticate_access_token!, if: :authenticate_by_access_token?
before_action :validate_bot_access_token!, if: :authenticate_by_access_token?
@@ -1,7 +1,6 @@
class Api::V1::Accounts::BaseController < Api::BaseController
include SwitchLocale
include EnsureCurrentAccountHelper
before_action :current_account
around_action :switch_locale_using_account_locale
end