Skip to content

Commit 6edc262

Browse files
committed
config: disable SwiftLint redundant_discardable_let rule
Preserve 'let _ =' in result builder contexts (required for Swift 6.0+)
1 parent f3f97bc commit 6edc262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ disabled_rules:
2727
- colon # swift-format handles colon spacing
2828
- comma # swift-format handles comma spacing
2929
- trailing_newline # swift-format handles newlines
30+
- redundant_discardable_let # Preserve 'let _ =' in result builder contexts (required for Swift 6.0+)
3031

3132
# Opt-in Rules
3233
opt_in_rules:

0 commit comments

Comments
 (0)