Skip to content

Commit 10600d9

Browse files
committed
Remove hardcoded 80 column limit in the format runner.
1 parent f6d3649 commit 10600d9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Sources/swift-format/Run.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@ public func lintMain(path: String) -> Int {
5656
public func formatMain(path: String, isDebugMode: Bool, prettyPrint: Bool) -> Int {
5757
let url = URL(fileURLWithPath: path)
5858

59-
let config = Configuration()
60-
config.lineLength = 80
61-
6259
let context = Context(
63-
configuration: config,
60+
configuration: Configuration(),
6461
diagnosticEngine: nil,
6562
fileURL: url
6663
)

0 commit comments

Comments
 (0)