Remove fallthrough
This commit is contained in:
parent
69ec87dc47
commit
f62bc00b9c
|
|
@ -288,13 +288,7 @@ custom_rules:
|
|||
name: "Pattern matching"
|
||||
regex: 'case[^\n\(]+\([^\)]*(let|var)\s'
|
||||
message: "Use a let|var keyword behind parentheses"
|
||||
severity: error
|
||||
|
||||
fallthrough:
|
||||
name: "Fallthrough"
|
||||
regex: '\sfallthrough\s'
|
||||
message: "Fallthrough usage is restricted!"
|
||||
severity: error
|
||||
severity: warning
|
||||
|
||||
# Rx
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue