We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the Rails/RakeEnvironment cop to rubocop-rake as the Rake/Rails/RakeEnvironment cop.
rubocop-rake
Rake/Rails/RakeEnvironment
The cop accepts two valid styles. I think one should be the preferred choice.
a)
desc 'delete non-unique banners' task 'delete_non_unique_banners' => :environment do # ... end
or
b)
desc 'delete non-unique banners' task delete_non_unique_banners: :environment do # ... end
The text was updated successfully, but these errors were encountered:
Rails/RakeEnvironment
This would be a style about task-dependent notation, not a cop for specific tasks. NOTE: It should be checked for conflicts with Style/Hash cop.
Style/Hash
Sorry, something went wrong.
No branches or pull requests
Move the Rails/RakeEnvironment cop to
rubocop-rake
as theRake/Rails/RakeEnvironment
cop.The cop accepts two valid styles. I think one should be the preferred choice.
a)
or
b)
The text was updated successfully, but these errors were encountered: