diff --git a/.swiftlint.yml b/.swiftlint.yml index ef8311c1..0ef3482a 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -50,6 +50,9 @@ only_rules: # over `CGPoint(x: 0, y: 0)`). - prefer_zero_over_explicit_init + # Prefer `reduce(into:_:)` over `reduce(_:_:)` for non-trivial accumulator types. + - reduce_into + # Use shorthand syntax for optional binding (`if let foo` instead of # `if let foo = foo`). - shorthand_optional_binding