appbooster / appbooster-swiftlint-config

Appbooster's Swiftlint config, following our styleguide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@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

About

Appbooster's Swiftlint config, following our styleguide

License:MIT License


Languages

Language:Ruby 12.7%Language:Ruby 12.7%Language:Ruby 12.7%Language:Ruby 12.5%Language:Ruby 12.4%Language:Ruby 12.4%Language:Ruby 12.4%Language:Ruby 12.2%