@appbooster/appbooster-swiftlint-config
Shared SwiftLint config of Appbooster organization
Installation
- Install config through CocoaPods:
pod 'AppboosterSwiftLintConfig'
- Add to
Target > Build Phases
a newRun Script Phase
with following block of code:
swiftlint="${PODS_ROOT}/SwiftLint/swiftlint"
if which $swiftlint >/dev/null; then
$swiftlint lint --config "${PODS_ROOT}/AppboosterSwiftLintConfig/.swiftlint.yml"
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi