From b022bfce9539312e5c120f1bfced5dbc4e11ee80 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 18 Sep 2020 13:07:21 +0300 Subject: [PATCH] Code correction --- xcode/.swiftlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index 1b7f74b..a8c88c7 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -253,7 +253,7 @@ custom_rules: parameter_closure: name: "Parameter closure" - regex: '\w*<\S*, Void\S*>' + regex: '\w*Closure<[^\r\n\t\f\v]*, Void[^\r\n\t\f\v]*>' message: "Use `ParameterClosure` instead of declaring an explicit return value of `Void`." severity: error