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

Make it possible to prefer special global vars #1346

Closed
segiddins opened this issue Sep 24, 2014 · 2 comments
Closed

Make it possible to prefer special global vars #1346

segiddins opened this issue Sep 24, 2014 · 2 comments

Comments

@segiddins
Copy link
Contributor

I.e. make it possible to have a cop that's the reverse of https://github.com/bbatsov/rubocop/blob/f5ff8e9bddb07ec54237a3c7c4cf69f7386254c7/lib/rubocop/cop/style/special_global_vars.rb

@bbatsov
Copy link
Collaborator

bbatsov commented Sep 30, 2014

I don't think we need a separate cop for this. We simply need to implement the preferred style for special_global_vars as a config option.

@alexdowad
Copy link
Contributor

I have a fix for this and will open a PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants