Skip to content

Instantly share code, notes, and snippets.

@mohammad19991
Created April 25, 2018 11:28
Show Gist options
  • Save mohammad19991/4b2330851acc91a45aa0e44709aab852 to your computer and use it in GitHub Desktop.
Save mohammad19991/4b2330851acc91a45aa0e44709aab852 to your computer and use it in GitHub Desktop.
SwiftLint script which will show warnings and errors displayed in the IDE for every single file in the project.
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment