[Remove] false-positive reaction with comments

This commit is contained in:
Vlad 2020-05-12 11:38:49 +03:00
parent 75849acb9c
commit 89c9b4d72e
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\/\/]+\{[^\n]+ in [^\n]+'
message: "Make a new line after `in` keyword in closure"
severity: error