-
> @plonkus
> I initially had a bunch of whitespace changes, which makes me think we should probably run the codebase through [swift-format](https://github.com/swiftlang/swift-format) at some point f…
-
I am using Xcode 16 which comes with a bundled `swift format`. When I run `swift format --version`, it prints `main`.
Does this mean the `swift format` bundled with Xcode will always be updated with …
-
https://github.com/swiftlang/swift-format/blob/main/Documentation/RuleDocumentation.md
https://github.com/swiftlang/swift-format/blob/main/Documentation/RuleDocumentation.md#ambiguoustrailingclosur…
-
When formatting Swift code using `swift-format`, comments from one line are improperly duplicated to the following lines.
**Steps to Reproduce:**
1. Create a Swift file (`test.swift`) with the f…
-
The swiftlang organization is standardizing on [swift-format](https://github.com/swiftlang/swift-format) for all of the projects since it is based on swift-syntax. It will be good to align swiftly wit…
-
## Description
When you use the `-r` option and `workingDirectory.path` is `"/"`, `String(path.dropFirst(workingDirectory.path.count + 1))` will remove the first character of the file path, so `Fil…
kkebo updated
9 hours ago
-
I would like to lint my code during the build process.
Not sure if I'm doing anything wrongly, since the plugin integration seems to be undocumented, but using this simple `Package.swift`:
```
…
-
With a dummy test file:
```swift
var f = l.filter { return $0.a != o }
```
And a config file that includes:
```json
"OmitExplicitReturns" : true,
```
```shell
swift format lint --…
-
### Overview
_No response_
-
1. Checkout https://github.com/apple/swift-protobuf @ c9fbc332ed293c64ff70af8d82367ca530dce11c
1. `swift format lint Sources/SwiftProtobuf/Message.swift` - Will produce a warning:
> Sources/Sw…