Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Roman Ivanov (romanivanov)
Assigned to: Nobody/Anonymous (nobody)
Summary: new check: OneReturnInMethod
One return in method is good practice as its ease understanding of method logic.
Make an option to :
- ignore for methods that less then N lines.
- Option to ignore return that is deeper then N levels(scopes).