Skip to content

Add early returns rule #24

@ThibaultKlein

Description

@ThibaultKlein

Write a rule about guard and defer as Swift 2 features to early return in a function.
Return early in a function is the preferred behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions