Apply Swift Style and Conventions with SwiftLint

Photo by Bundo Kim on Unsplash

What is SwiftLint?

1-Installation

brew install swiftlint
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
pod 'SwiftLint'

2-Integrate to Xcode

Let’s go for a test run

3-Testing SwiftLint

Conclusion

Bonus

Useful Links :

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store