You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following what have been done in the Naming/RescuedExceptionsVariableName cop in the rubocop repo, we should also handle the Rails version that use rescue_from:
classMyController < ApplicationControllerrescue_fromMyExceptiondo |exception| # <= should be flagged with an offense# do somethingendend
Should this cop read the configuration of Naming/RescuedExceptionsVariableName or have its own duplicated ?