Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SwiftLint #33

Merged
merged 1 commit into from Mar 25, 2016
Merged

Add SwiftLint #33

merged 1 commit into from Mar 25, 2016

Conversation

dostu
Copy link
Contributor

@dostu dostu commented Mar 25, 2016

We need to enforce clean code.

Add SwiftLint to automatically
check code style.

  • Run SwiftLint autocorrect and fix minor violations
  • Add .swiftlint.yml config
  • Add Xcode build phase to run linter on each build

@sauliusgrigaitis
Copy link
Owner

@weby thanks! We need to not run linter on Linux https://docs.travis-ci.com/user/multi-os/

We need to enforce clean code.

Add [SwiftLint](https://github.com/realm/SwiftLint) to automatically
check code style.

* Run SwiftLint autocorrect and fix minor violations
* Add .swiftlint.yml config
* Add Xcode build phase to run linter on each build
@dostu
Copy link
Contributor Author

dostu commented Mar 25, 2016

Changed travis config to only run SwiftLint on OSX.

@sauliusgrigaitis
Copy link
Owner

@weby nice!

@sauliusgrigaitis sauliusgrigaitis merged commit 4d85666 into sauliusgrigaitis:master Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants