-
Run swiftformat with no config makes the following changes, but these changes fail to compile.
```diff
@@ -58,7 +58,7 @@ open class Store {
/// Returns the BindingTarget for the keyPath.
…
-
Hello,
In a struct annotated with `@dynamicMemberLookup`, we (apparently) can only access a dynamic member if we prefix it with `self`. If `redudantSelf` is enabled, `self`'s are removed without co…
-
Version used: 0.48.5
Description:
When parsing code that contain the actor word, formatting seems to break, and as a result code might not compile anymore either.
Example:
Before running Swift…
-
Hello!
I've spotted a configuration where SwiftFormat removes parentheses and make the code not compilable:
```swift
A(
first: 1...(.greatestFiniteMagnitude),
second: 1...(.greatestFiniteMagn…
-
With this code:
```swift
/// blah
/// blah
/// TODO: re-write as a flow: PPG-5401
///
/// blah
```
SwiftFormat replaces the `TODO` line to only have 2 slashes
keith updated
3 years ago
-
When upgrading from 0.48.0 to 0.48.4, I noticed a regression when using `--closingparen same-line`
### Before
```swift
public extension Foo {
func image() -> UIImage? {
return UII…
calda updated
3 years ago
-
Facing the error issue and following is the output when run flutter doctor and brew install on terminal
Doctor summary (to see all details, run flutter doctor -v):
```
[✓] Flutter (Channel mast…
-
**Tool information**
- Tool name: SwiftFormat
- Tool license: MIT
- Add or update? Add
- Desired version: Latest (v0.47.13 as of writing)
- Approximate size: ~4.9MB
- If this is an add request:
…
-
First of all, thanks for this awesome plugin! 🎉
I'm facing an issue with running the latest version of SwiftFormat, though:
```sh
[!] Invalid `Dangerfile` file: Error running SwiftFormat:
Err…
-
That's the issue we faced recently.
We have configuration file with exclude option:
```
--exclude **/Generated
```
If you run swiftformat for root folder like that:
```
swiftformat . --confi…