In order to prettify your Swift code, you need to have SwiftFormat installed.
You can install it using Homebrew or Mint
# Using Homebrew
$ brew update && brew install swiftformat
# Using Mint
$ mint install nicklockwood/SwiftFormat swiftformat
Config | Type | Default | Description |
---|---|---|---|
swiftformat.enable |
Bool |
true |
Wether SwiftFormat should actually do something. |
swiftformat.path |
String |
/usr/local/bin/swiftformat |
The location of SwiftFormat. |
swiftformat.options |
[String] |
[] |
Additional parameters for SwiftFormat. |
- Valentin Knabel, @vknabel, dev@vknabel.com, @vknabel on Twitter
Archery is available under the MIT license.