Fix linting issues caused due to methods with too many return statements #92
Labels
feature
New feature or request
good first issue
Good for newcomers
hacktoberfest
Included as a part of Hacktoberfest
help wanted
Extra attention is needed
refactor
Refactor code to improve quality
Terms
Description
Methods with too many return statements can be hard to read. Aim to have a single point of exit from a method, which makes the code more understandable and easier to debug.
Before fixing:
After fixing:
More about this can be read from the docs
These can be identified across the codebase by the following steps:
Contribution
I would love to work on this and am more than willing to help anyone solve this issue. 😄
The text was updated successfully, but these errors were encountered: