From a719bb555880b2b6ce175473f9112bd67dba98a6 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 21 May 2020 11:15:11 +0300 Subject: [PATCH] [Update] regexp --- xcode/.swiftlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index af688ba..519b7e0 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -235,7 +235,7 @@ custom_rules: addSubview_cell: name: "AddSubview cell" - regex: '\s*class\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\(' + regex: '\s*class\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w' message: "Using addSubview or addSubviews incorrect" severity: error