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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user