From d519b424f1e179a51cbbd8481e685a6623b622c1 Mon Sep 17 00:00:00 2001 From: Vladimir Espinola Date: Wed, 26 Jun 2024 23:27:28 -0400 Subject: [PATCH 1/2] added excluded folder --- .DS_Store | Bin 6148 -> 6148 bytes .swiftlint.yml | 3 +++ 2 files changed, 3 insertions(+) diff --git a/.DS_Store b/.DS_Store index 9a68e9791dfd9bac0b40ef5faae4e3482b963ebd..a276447fcc583da6051b7371ad587fda80f533a7 100644 GIT binary patch delta 49 zcmZoMXffFEfr*2GfuXoV?3m+Z9wr<9f(*mp>Pjj0U8$#EC2ui diff --git a/.swiftlint.yml b/.swiftlint.yml index 53e22c9..e1b7136 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -17,3 +17,6 @@ nesting: function_level: warning: 5 error: 10 +excluded: + - mobile-courier-appTests + - mobile-courier-appUITests \ No newline at end of file From 05eb0c1ca27cadac999a364d0e09b3d0e0263f64 Mon Sep 17 00:00:00 2001 From: Vladimir Espinola Date: Wed, 26 Jun 2024 23:32:23 -0400 Subject: [PATCH 2/2] updated swiftlint script --- mobile-courier-app.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-courier-app.xcodeproj/project.pbxproj b/mobile-courier-app.xcodeproj/project.pbxproj index 3fd5632..ac58888 100644 --- a/mobile-courier-app.xcodeproj/project.pbxproj +++ b/mobile-courier-app.xcodeproj/project.pbxproj @@ -757,7 +757,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [[ \"$(uname -m)\" == arm64 ]]\nthen\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif command -v swiftlint >/dev/null 2>&1\nthen\n swiftlint\nelse\n echo \"warning: `swiftlint` command not found - See https://github.com/realm/SwiftLint#installation for installation instructions.\"\nfi\n"; + shellScript = "if [[ \"$(uname -m)\" == arm64 ]]\nthen\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif command -v swiftlint >/dev/null 2>&1\nthen\n swiftlint --strict\nelse\n echo \"warning: `swiftlint` command not found - See https://github.com/realm/SwiftLint#installation for installation instructions.\"\nfi\n"; }; /* End PBXShellScriptBuildPhase section */