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