Update pattern_matching

This commit is contained in:
Vlad 2021-02-11 18:19:50 +03:00
parent 2c97109908
commit 69ec87dc47
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ custom_rules:
pattern_matching:
name: "Pattern matching"
regex: 'case[^\(]+\([^\)]*(let|var)\s'
regex: 'case[^\n\(]+\([^\)]*(let|var)\s'
message: "Use a let|var keyword behind parentheses"
severity: error