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

Allow enabling of Rails Cops in config file #456

Closed
lawliet89 opened this issue Aug 28, 2013 · 2 comments
Closed

Allow enabling of Rails Cops in config file #456

lawliet89 opened this issue Aug 28, 2013 · 2 comments
Assignees

Comments

@lawliet89
Copy link

I would prefer to do this rather than using the command line argument so that every time I invoke Rubocop, it runs it automatically rather than requiring me to remember to add a -R flag.

@bbatsov
Copy link
Collaborator

bbatsov commented Aug 29, 2013

Seems reasonable. @jonas054 What do you think?

@jonas054
Copy link
Collaborator

👍 Agreed. I don't forsee any big problems with adding such a configuration parameter. We just have to be careful so people don't find it confusing. The best way might be to add a parameter like

AllCops:
  RunExtraRailsCops: false

It's false in the default configuration and works just like (and can be overridden by) the --rails command line option.

@ghost ghost assigned jonas054 Sep 11, 2013
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