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
Generate .rubocop_todo.yml
without any exclude limit
#10409
Comments
I would rule out Of the remaining two I like |
8 tasks
r7kamura
added a commit
to r7kamura/rubocop
that referenced
this issue
Oct 2, 2022
bbatsov
pushed a commit
that referenced
this issue
Oct 20, 2022
Thanks for implementing this @r7kamura! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Apologies if this has been discussed previously, it's hard to search for with such a large issue volume.)
Is your feature request related to a problem? Please describe.
When setting up RuboCop on a project with a lot of existing offences, running
--auto-gen-config
results in many cops being entirely disabled (because there are more than the default limit of 15 occurrences).To avoid that, I typically pass
--exclude-limit
with an arbitrary high limit such as999999
.Describe the solution you'd like
I'd like to have a cleaner way to specify that no limit should supply, e.g:
--exclude-limit=0
(treat0
as a special indicator)--exclude-limit=-1
(treat any negative number as a special indicator)--no-exclude-limit
Describe alternatives you've considered
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: