Add new rule to SwiftLint for enforcing initialization using .init()
, if possible
#70
Labels
enhancement
Issues that describe new features or improvements to existing features.
We decided to initialize new values/instances using
.init()
wherever possible (i.e. where the compile can infer the concrete type).To make enforcing this rule easier we should add a new rule to SwiftLint that lints this. It would also be nice to have auto correction for this, which should be very easy to accomplish.
The text was updated successfully, but these errors were encountered: