Add .swiftformat file (#12)

This commit is contained in:
Paul Beusterien authored and GitHub committed 2024-08-23 10:21:09 -04:00
1 parent 712ff6b98d
commit 31e3a0183d
2 files changed
+15 -1

No files matched your search

+14
View File
@@ -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
+1 -1
View File
@@ -1 +1 @@
nicklockwood/SwiftFormat@0.51.12
nicklockwood/SwiftFormat@0.54.0