Skip to content

Commit

Permalink
Update Mintfile for SwiftFormat update (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Aug 23, 2024
1 parent deea8a6 commit 653f0f2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .swiftformat
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
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nicklockwood/SwiftFormat@0.51.12
nicklockwood/SwiftFormat@0.54.0
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ let package = Package(
url: "https://github.com/google/GoogleUtilities.git",
"8.0.0" ..< "9.0.0"
),
// TODO: restore OCMock when https://github.com/erikdoe/ocmock/pull/537
// gets merged to fix Xcode 15.3 builds.
.package(
url: "https://github.com/erikdoe/ocmock.git",
revision: "c5eeaa6dde7c308a5ce48ae4d4530462dd3a1110"
url: "https://github.com/paulb777/ocmock.git",
revision: "173955e93e6ee6999a10729ab67e4b4efdd1db6d"
),
],
targets: [
Expand Down

0 comments on commit 653f0f2

Please sign in to comment.