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
When I first set up RuboCop, I assumed # rubocop:disable was block scoped, but it turns out it's meant to be paired with a matching # rubocop:enable. Without that, it means "disable till further notice".
We've put # rubocop:enable in a few places (e.g. Resource::duplicate_filenames), but there are still a lot of orphan disables out there. At some point we should clean these up, and fix any style issues we discover in code where checks were unintentionally disabled.
The text was updated successfully, but these errors were encountered:
(description copied from CDLUC3/stash#2 by @dmolesUC3)
When I first set up RuboCop, I assumed
# rubocop:disable
was block scoped, but it turns out it's meant to be paired with a matching# rubocop:enable
. Without that, it means "disable till further notice".We've put
# rubocop:enable
in a few places (e.g. Resource::duplicate_filenames), but there are still a lot of orphandisables
out there. At some point we should clean these up, and fix any style issues we discover in code where checks were unintentionally disabled.The text was updated successfully, but these errors were encountered: