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

rubocop_todo.yml doesn't include --no-offense-counts in logged command #3265

Closed
vergenzt opened this issue Jun 30, 2016 · 1 comment
Closed

Comments

@vergenzt
Copy link
Contributor

vergenzt commented Jun 30, 2016

Title pretty much covers it. When I run rubocop --auto-gen-config --exclude-limit 500 --no-offense-counts on Rubocop v0.40.0, the first two lines of .rubocop_todo.yml say:

# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 500`

when I expect it to say:

# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 500 --no-offense-counts`
@vergenzt
Copy link
Contributor Author

vergenzt commented Jun 30, 2016

I'm working on a fix in my fork, but haven't written tests yet so didn't open a PR.

vergenzt added a commit to vergenzt/rubocop that referenced this issue Dec 29, 2016
Previously the `--auto-gen-config` flag did not include the
`--no-offense-counts` option in the command logged at the
top of `.rubocop_todo.yml`. This adds it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant