Update pattern_matching
This commit is contained in:
parent
2c97109908
commit
69ec87dc47
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue