AppboosterSwiftLintConfig 1.0.11

AppboosterSwiftLintConfig 1.0.11

Appbooster维护。



  • Vladimir Vasilev

@appbooster/appbooster-swiftlint-config

Appbooster组织共享的SwiftLint配置

安装

  1. 通过CocoaPods安装配置
pod 'AppboosterSwiftLintConfig'
  1. 将以下代码块添加到Target > Build Phases中的新Run Script Phase
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