artemnovichkov / swift-project-template

🍪 Easily generate Swift projects with Cookiecutter
MIT License
88 stars 18 forks source link

Add new swiftlint rules #37

Closed nzatsepilov closed 6 years ago

nzatsepilov commented 6 years ago

Updates for swiftlint rules

Added following rules:

artemnovichkov commented 6 years ago

Where are multiline-arguments, multiline-parameters, prohibited-calls-to-super, min-or-max-over-sorted-first-or-last and untyped-error-in-catch rules? I thought we approved it. BTW, I added you as a collaborator, you don't have to fork the repo.

nzatsepilov commented 6 years ago

@artemnovichkov Ok, I've updated #37 . Added all rules except multiline_arguments. Rule has conflicts in calls with multiple closures, like:

UIView.animate(withDuration: 0.3, animations: {
   ...   
}, completion: { _ in
   ...
})