fix: removed explict default config file from swift-format (#12052)

This commit is contained in:
Elizabeth 2024-11-11 03:30:55 +00:00 committed by GitHub
parent b53dafe326
commit 10c3502a89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1966,7 +1966,7 @@ file-types = ["swift", "swiftinterface"]
roots = [ "Package.swift" ]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
formatter = { command = "swift-format", args = [ "--configuration", ".swift-format"] }
formatter = { command = "swift-format" }
auto-format = true
language-servers = [ "sourcekit-lsp" ]