-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
http://blog.timoxley.com/post/47041269194/avoid-else-return-early
Use of if-else is always unnecessary, and leads to cyclomatic complexity. Other clean code linters (phpmd, golint) enforce this pattern. Would love to have this rule as I have to enforce it manually in my typescript projects right now.
Reactions are currently unavailable