From f9d5d794f0c042689dc9a1ee06a9c421c8cc8bed Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Sat, 19 Sep 2020 15:20:50 +0200 Subject: [PATCH] Fix new warning caused by Swift 5.3 and bring SwiftLint rule in sync with it --- .swiftlint.yml | 2 ++ .travis.yml | 2 +- pass.xcodeproj/xcshareddata/xcschemes/pass.xcscheme | 2 +- .../GitRepositorySettingsTableViewController.swift | 1 + pass/Controllers/PasswordDetailTableViewController.swift | 4 ++-- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index dc53f83..97fe5c6 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -212,3 +212,5 @@ closure_body_length: error: 60 type_name: max_length: 50 +trailing_closure: + only_single_muted_parameter: true diff --git a/.travis.yml b/.travis.yml index 8141e56..15d0d9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: objective-c -osx_image: xcode11.6 +osx_image: xcode12 addons: homebrew: packages: diff --git a/pass.xcodeproj/xcshareddata/xcschemes/pass.xcscheme b/pass.xcodeproj/xcshareddata/xcschemes/pass.xcscheme index c21f6bb..3e62053 100644 --- a/pass.xcodeproj/xcshareddata/xcschemes/pass.xcscheme +++ b/pass.xcodeproj/xcshareddata/xcschemes/pass.xcscheme @@ -1,6 +1,6 @@