From 50a6eaba064772197fdd62ef9ce247615066910b Mon Sep 17 00:00:00 2001 From: masakih Date: Tue, 14 Mar 2017 22:55:47 +0900 Subject: [PATCH] =?utf8?q?swiftlint=20'function=5Fparameter=5Fcount'?= =?utf8?q?=E3=81=AE=E8=AD=A6=E5=91=8A=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .swiftlint.yml | 4 ---- KCD/KenzoMarkCommand.swift | 1 + KCD/LocalDataStore.swift | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 6eaa89a3..5cea4ab6 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -4,7 +4,6 @@ disabled_rules: - vertical_whitespace - cyclomatic_complexity - trailing_comma - - function_parameter_count - todo - trailing_whitespace file_length: @@ -18,9 +17,6 @@ variable_name: function_body_length: warning: 40 error: 100 -function_parameter_count: - warning: 6 - error: 8 large_tuple: 3 cyclomatic_complexity: warning: 20 diff --git a/KCD/KenzoMarkCommand.swift b/KCD/KenzoMarkCommand.swift index 880cf93b..ef466176 100644 --- a/KCD/KenzoMarkCommand.swift +++ b/KCD/KenzoMarkCommand.swift @@ -47,6 +47,7 @@ class KenzoMarkCommand: JSONCommand { kdockId: kdockId, shipId: shipId) } + // swiftlint:disable function_parameter_count private func markedValues(fuel: Int, bull: Int, steel: Int, diff --git a/KCD/LocalDataStore.swift b/KCD/LocalDataStore.swift index 562f176e..1c5f8f66 100644 --- a/KCD/LocalDataStore.swift +++ b/KCD/LocalDataStore.swift @@ -75,6 +75,7 @@ extension LocalDataStore { else { return nil } return kenzoMarks.first } + // swiftlint:disable function_parameter_count func kenzoMark(fuel: Int, bull: Int, steel: Int, -- 2.11.0