It might be different depending on your SwiftLint version, for me this one works:
cyclomatic_complexity: ignores_case_statements: true