Adding max
configuration parameter for MultilineLambdaItParameter
rule
#5214
tinder-cesardiez
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for the suggestion
Can you elaborate on why the snippet you linked has decreased readability due to multiple |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it make sense to have a configuration parameter to tweak the maximum number of "it" usages on a particular scope?
so let's say we have:
Code like the the one showcased on the docs:
would now become compliant.
The reason behind the suggestion is that even though it's definitely good to have this rule in place for readability purposes, it might be a little bit limiting and noisy for our fellow devs.
This is me thinking out loud. If you guys think it's useful, I would be happy to contribute to the repo to make it happen.
Beta Was this translation helpful? Give feedback.
All reactions