This commit is contained in:
Vlad 2020-05-13 10:33:32 +03:00
parent 0515e28828
commit 5ef4c23ae7
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ custom_rules:
single_line_closure:
name: "Single line closure"
regex: '\{([^\n]*\[[^\]]+\][^\n]*)?([^\n]*[a-zA-Z]+(, (_|[a-zA-Z]+))*)? in [^\n]+'
message: "Make a new line after `in` keyword in closure"
message: "Too complex expression for single line closure. Improve readability by making it multiline."
severity: error
# Rx