Does Swift-Format have any provisions for ignoring certain lines of code/entire files?

Title says it all.

SwiftLint allows ignoring specified lines/files

Is there any way to do this with swift-format?

Yes it does: swift-format/ at main · apple/swift-format · GitHub

1 Like

Awesome. Thanks for this.

Terms of Service

Privacy Policy

Cookie Policy