Remove fallthrough

This commit is contained in:
Vlad 2021-02-11 18:33:05 +03:00
parent 69ec87dc47
commit f62bc00b9c
1 changed files with 1 additions and 7 deletions

View File

@ -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