From 55f503fc6f4c938c0a5483618e5cef4ed8fff098 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Tue, 31 Mar 2020 12:42:38 +0300 Subject: [PATCH] decrease maximum number of enum parameters to 4 for warning and 5 for error --- xcode/.swiftlint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index 43d4a23..4cf4b27 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -94,6 +94,10 @@ function_parameter_count: colon: flexible_right_spacing: true +enum_case_associated_values_count: + warning: 4 + error: 5 + identifier_name: excluded: - id