[Add] check for capture list

This commit is contained in:
Vlad 2020-05-12 12:23:30 +03:00
parent 4f0ea050d3
commit 933c0049b9
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ custom_rules:
single_line_closure:
name: "Single line closure"
regex: '\{[^\n\/]+ in [^\n\/]+'
regex: '\{ \[[^\]]+\] [^\n\/]+ in [^\n\/]+'
message: "Make a new line after `in` keyword in closure"
severity: error