Open garricn opened 7 years ago
Actually @pixyzehn already added SwiftLint for this purpose here: https://github.com/JohnSundell/Marathon/pull/89 and here: https://github.com/JohnSundell/Marathon/pull/61 😄
That being said, we should make it run locally as well as in CI, without any manual work. How about calling it using ShellOut in a test? What do you think @pixyzehn?
Weird. I meant to write SwifFormat. I must have been really tired!
@garricn You did, but I changed the title of the issue to reflect the task at hand 😉
Have you considered using both? They serve slightly different purposes...
I'm personally fine with only running SwiftLint 🙂
Have you considered this to enforce formatting?