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
RuboCop no longer supports ambiguous cop names (those without a department). As the namespace is actually a part of the cop name, this can't be changed.
This PR enables `Migration/DepartmentName` cop by default.
The cop has been added at rubocop#7385.
The cop will promote the migration to adding department name to cop name.
Omitting a department name will not be supported in the future,
so enabling this cop by default will facilitate the migration.
The PR was inspired by the following issue:
> RuboCop no longer supports ambiguous cop names (those without a department).
rubocop#7717 (comment)
This PR enables `Migration/DepartmentName` cop by default.
The cop has been added at #7385.
The cop will promote the migration to adding department name to cop name.
Omitting a department name will not be supported in the future,
so enabling this cop by default will facilitate the migration.
The PR was inspired by the following issue:
> RuboCop no longer supports ambiguous cop names (those without a department).
#7717 (comment)
It is very hard for my little brain to remember namespaces for each rubocop rule I disable.
It is much easier to write
rather than
And it is so annoying to manually run in console
rubocop -a --only Migration/DepartmentName
.Please add ability to disable the nasty warning.
The text was updated successfully, but these errors were encountered: