From 782853e34eda87c952aecce5e7351118ff821e3b Mon Sep 17 00:00:00 2001 From: i-colours-u Date: Sat, 2 Jul 2022 02:58:05 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[fix]=20empty=5Fcount=20swift=20rule=20?= =?UTF-8?q?=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/swift.yml | 6 +++--- BeMyPlan/.swiftlint.yml | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 2d11425..86f0933 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -4,13 +4,13 @@ on: push: branches: [ "dev" ] pull_request: + branches: + - dev + - 'feature/**' paths: - '.github/workflows/swiftlint.yml' - 'BeMyPlan/.swiftlint.yml' - '**/*.swift' - branches: - - dev - - 'feature/**' jobs: SwiftLint: diff --git a/BeMyPlan/.swiftlint.yml b/BeMyPlan/.swiftlint.yml index c5cce8c..94a1adb 100644 --- a/BeMyPlan/.swiftlint.yml +++ b/BeMyPlan/.swiftlint.yml @@ -13,7 +13,6 @@ disabled_rules: - shorthand_operator opt_in_rules: -- empty_count - empty_string excluded: From b1a904bc46d79bd74146113e9cf30044b4496809 Mon Sep 17 00:00:00 2001 From: i-colours-u Date: Sat, 2 Jul 2022 03:06:31 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[fix]=20disabled=20rules=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BeMyPlan/.swiftlint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BeMyPlan/.swiftlint.yml b/BeMyPlan/.swiftlint.yml index 94a1adb..70aa487 100644 --- a/BeMyPlan/.swiftlint.yml +++ b/BeMyPlan/.swiftlint.yml @@ -11,9 +11,11 @@ disabled_rules: - force_cast - type_name - shorthand_operator +- switch_case_alignment +- for_where +- comma +- opening_brace -opt_in_rules: -- empty_string excluded: - .github/workflows/swift.yml