From cd4616e9637638c975d2f080f828240a54ad2462 Mon Sep 17 00:00:00 2001 From: Igor Kislyuk Date: Thu, 23 Nov 2017 00:17:58 +0300 Subject: [PATCH] Fix complexity --- .swiftlint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.swiftlint.yml b/.swiftlint.yml index 96c6095..1e5c147 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -40,6 +40,9 @@ excluded: line_length: 128 +cyclomatic_complexity: + ignores_case_statements: true + type_body_length: - 500 # warning - 700 # error