You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I tend to write
method(param1,param2,param3)
Instead of
method(param1,param2,param3)
Which I think is clearer, just because I need to respect the method length limit.
Sometimes calling the method in one line isn't possible if I respect a 80 characters line width.
Describe the solution you'd like
I'd like to be able to specify that method calls can be counted as a single line. Something like:
Metrics/MethodLength:
CountAsOne: ['arguments']
The text was updated successfully, but these errors were encountered:
hacktivista
changed the title
Request: Allow to add method parameters to Metrics/MethodLength CountAsOne
Request: Allow to add method arguments to Metrics/MethodLength CountAsOne
Oct 12, 2022
Is your feature request related to a problem? Please describe.
I tend to write
Instead of
Which I think is clearer, just because I need to respect the method length limit.
Sometimes calling the method in one line isn't possible if I respect a 80 characters line width.
Describe the solution you'd like
I'd like to be able to specify that method calls can be counted as a single line. Something like:
The text was updated successfully, but these errors were encountered: