swift icon indicating copy to clipboard operation
swift copied to clipboard

Airbnb's Swift Style Guide

Results 4 swift issues
Sort by recently updated
recently updated
newest added

#### Summary This PR proposes a new rule to prefer simplified generic extension syntax, using bracket syntax or sugared type syntax for applicable standard library types, instead of generic type...

#### Summary This PR proposes a new rule to prefer the shorthand `if let` optional unwrapping syntax added in Swift 5.7: > Omit the right-hand side of the expression when...

#### Summary This PR proposes a rule to prefer opaque generic parameter syntax (using `some`) over the more-verbose named generic parameter syntax where equivalent. ```swift // WRONG func spaceshipDashboard( warpDrive:...

_Please react with 👍/👎 below if you agree or disagree with this proposal._ #### Summary This PR proposes a new rule to prefer letting the type of a property be...