Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 376 Bytes

swiftlint.md

File metadata and controls

19 lines (15 loc) · 376 Bytes

##SwiftLint

Download SwiftLint

Add extra buildphase with script:

if which swiftlint >/dev/null; then
  swiftlint
else
  echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi

Rules

disable:
// swiftlint:disable <rule_name>

enable:
// swiftlint:enable <rule_name>