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
The rule indent-error-flow checks if the ifblock ends with a return statement. The rule could also check for if blocks ending with branch statements like continue,break, or (ouch!) goto
[I've made the dev and I can make a pull request if you are interested]
Note: the rule is part of the golint-related rules, if the goal is to be isofunctional with golint then instead of extending the rule, a new one can be created.
The text was updated successfully, but these errors were encountered:
The rule
indent-error-flow
checks if theif
block ends with areturn
statement. The rule could also check forif
blocks ending with branch statements likecontinue
,break
, or (ouch!)goto
[I've made the dev and I can make a pull request if you are interested]
Note: the rule is part of the
golint
-related rules, if the goal is to be isofunctional with golint then instead of extending the rule, a new one can be created.The text was updated successfully, but these errors were encountered: