Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Integrate linter and code formatter in the build process #46

Open
wojciechczerski opened this issue Oct 24, 2017 · 0 comments
Open

Integrate linter and code formatter in the build process #46

wojciechczerski opened this issue Oct 24, 2017 · 0 comments

Comments

@wojciechczerski
Copy link
Member

To ensure code format consistency we could use SwiftFormat. We can integrate it as a build phase that triggers a warning or an error if swiftformat command was not found. If we choose the error approach we should clearly describe in README that in order to contribute to the project you should first make sure you have the swiftformat installed.

In addition we could use SwiftLint to ensure a consistent code style. The integration options are the same as for the SwiftFormat.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant