From d45e2df73623e4ef63cb84753679beb9367ca708 Mon Sep 17 00:00:00 2001 From: Marcelo Fabri Date: Sat, 8 Sep 2018 20:24:42 -0700 Subject: [PATCH] Fix regex on .swiftlint.yml --- .swiftlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 220ddab01..0594649f3 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -59,7 +59,7 @@ file_name: custom_rules: rule_id: - included: Source/SwiftLintFramework/Rules/\w+\.swift + included: Source/SwiftLintFramework/Rules/.+/\w+\.swift name: Rule ID message: Rule IDs must be all lowercase, snake case and not end with `rule` regex: identifier:\s*("\w+_rule"|"\S*[^a-z_]\S*")