-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Metrics/ParameterLists ignores Max value generate by rubocop --auto-gen-config #9465
Comments
Optional parameters have a separate configuration, |
Shouldn't |
Definitely, I'm opening a PR momentarily. |
8 tasks
dvandersluis
added a commit
to dvandersluis/rubocop
that referenced
this issue
Jan 31, 2021
…e `MaxOptionalParameters` in rubocop_todo.yml.
bbatsov
pushed a commit
that referenced
this issue
Feb 1, 2021
…ptionalParameters` in rubocop_todo.yml.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the problem
test.rb
file with content:rubocop --auto-gen-config
and get this.rubocop_todo.yml
Metrics/ParameterLists
max is 6, so it should be no warning for running rubocop now, but there is one:RuboCop version
The text was updated successfully, but these errors were encountered: