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*")