CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

AppboosterSwiftLintConfig 1.0.11

AppboosterSwiftLintConfig 1.0.11

Maintained by Appbooster.



  • By
  • Vladimir Vasilev

@appbooster/appbooster-swiftlint-config

Shared SwiftLint config of Appbooster organization

Installation

  1. Install config through CocoaPods:
pod 'AppboosterSwiftLintConfig'
  1. Add to Target > Build Phases a new Run 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