-
SwiftLint formats the code on save by [swizzling methods](https://github.com/ypresto/SwiftLintXcode/blob/06a8dfa70174522a33224db3bb33d8bc800bc6f9/SwiftLintXcode/SaveHook.swift). This is a little bit d…
-
SPM has support for including command-line tools as a binary target. This allows you to depend purely on the binary without including the full source (and all its dependencies).
To support this the…
-
While it could sometimes be considered a useful feature, I have to slight concerns with it:
1. It assumes we use SwiftLint, but what about other tools?
2. It's more efficient to use a **.swiftlint…
-
I generated API client code by [OpenAPITools/openapi-generator-cl](https://github.com/OpenAPITools/openapi-generator-cli).
Before running swiftformat, source code is following.
```swift
// API.sw…
ras0q updated
2 years ago
-
`redundantClosure` rule leads to a compile error.
This:
```
static let once: Void = { object_setClass(Bundle.main, type(of: BundleExtension())) }()
```
Gets translated into this:
```
…
-
Hello I try to update to the latest version 0.49.11 but with cocoapods I can only get 0.49.10.
I ran `pod install` and I got this:
```
Analyzing dependencies
[!] CocoaPods could not find compati…
oonoo updated
2 years ago
-
## Check these before submitting:
- [] The issue doesn't involve an [Unsupported Feature](https://github.com/airbnb/lottie-ios/blob/master/README.md#supported-after-effects-features)
- [] This i…
-
We specify a `--swiftversion` flag in our `airbnb.swiftformat` file so that version-dependent format rule implementations use all of the latest language features. We have to [periodically update this]…
calda updated
2 years ago
-
I updated swiftformat 0.49.12, then caught `(indent) Indent code in accordance with the scope level.`
Until then, there was no warning in the same code like below:
```swift
timer = Timer.schedu…
-
https://github.com/nicklockwood/SwiftFormat#file-headers
I just check the doc, it seems this plugin is missing `header` strip
Could you please check it
aelam updated
2 years ago