Fix regex on .swiftlint.yml

This commit is contained in:
Marcelo Fabri
2018-09-08 20:24:42 -07:00
parent f6ec91cd1e
commit d45e2df736
+1 -1
View File
@@ -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*")