From f62bc00b9c3e3bd57ca9101f6661ba11d1635364 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 11 Feb 2021 18:33:05 +0300 Subject: [PATCH] Remove fallthrough --- xcode/.swiftlint.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index d29d115..2db54e1 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -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