-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move SwiftFormat options to a config file (#208)
- Loading branch information
1 parent
66dd81c
commit e24b5c4
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Formatting Options - Mimic Google style | ||
--indent 2 | ||
--maxwidth 100 | ||
--wrapparameters afterfirst | ||
|
||
# Disabled Rules | ||
|
||
# Too many of our swift files have simplistic examples. While technically | ||
# it's correct to remove the unused argument labels, it makes our examples | ||
# look wrong. | ||
--disable unusedArguments | ||
|
||
# We prefer trailing braces. | ||
--disable wrapMultilineStatementBraces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters