diff --git a/.swiftformat b/.swiftformat index f2143b8aec..a6bc224504 100644 --- a/.swiftformat +++ b/.swiftformat @@ -1,4 +1,4 @@ ---swiftversion 5.6 +--swiftversion 5.10 --header "//\n// Copyright {year} Readium Foundation. All rights reserved.\n// Use of this source code is governed by the BSD-style license\n// available in the top-level LICENSE file of the project.\n//" --stripunusedargs closure-only ---disable redundantSendable,noForceUnwrapInTests +--disable redundantSendable,redundantSelf,noForceUnwrapInTests,conditionalAssignment,opaqueGenericParameters,typeSugar,genericExtensions,redundantOptionalBinding