Skip to content
New issue

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

New cop: Namespace vs task name with : #15

Open
pocke opened this issue Sep 21, 2019 · 1 comment
Open

New cop: Namespace vs task name with : #15

pocke opened this issue Sep 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@pocke
Copy link
Collaborator

pocke commented Sep 21, 2019

namespace :foo do
  task :bar do
  end
end

# or

task :'foo:bar' do
end
@pocke pocke added the enhancement New feature or request label Sep 21, 2019
@tejasbubane
Copy link
Contributor

Going by https://github.com/rubocop-hq/ruby-style-guide#namespace-definition I guess the separate namespace should be preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants