Jonas Björkert 1 год назад
Родитель
Сommit
5ffb69b8d5

+ 1 - 1
BuildTools/Package.swift

@@ -9,7 +9,7 @@ let package = Package(
     dependencies: [
         .package(
             url: "https://github.com/nicklockwood/SwiftFormat.git",
-            from: "0.41.2"
+            from: "0.56.1"
         ),
     ],
     targets: [

+ 1 - 1
LoopFollow/Helpers/Views/BGPicker.swift

@@ -1,6 +1,6 @@
 // LoopFollow
 // BGPicker.swift
-// Created by Jonas Björkert on 2025-05-26.
+// Created by Jonas Björkert on 2025-05-14.
 
 import HealthKit
 import SwiftUI

+ 1 - 1
LoopFollow/Settings/GeneralSettingsView.swift

@@ -1,6 +1,6 @@
 // LoopFollow
 // GeneralSettingsView.swift
-// Created by Jonas Björkert on 2025-05-25.
+// Created by Jonas Björkert on 2025-05-26.
 
 import SwiftUI
 

+ 0 - 86
Scripts/swiftformat.sh

@@ -14,89 +14,3 @@ unset SDKROOT
 swift run -c release --package-path BuildTools swiftformat "${SRCROOT}" \
 --header "LoopFollow\n{file}\nCreated by {author.name} on {created}." \
 --exclude Pods,Generated,R.generated.swift,fastlane/swift,Dependencies,dexcom-share-client-swift
-
-# andOperator,\
-# anyObjectProtocol,\
-# blankLinesAroundMark,\
-# blankLinesAtEndOfScope,\
-# blankLinesAtStartOfScope,\
-# blankLinesBetweenScopes,\
-# consecutiveBlankLines,\
-# consecutiveSpaces,\
-# duplicateImports,\
-# elseOnSameLine,\
-# emptyBraces,\
-# enumNamespaces,\
-# fileHeader,\
-# hoistPatternLet,\
-# indent,\
-# isEmpty,\
-# leadingDelimiters,\
-# linebreakAtEndOfFile,\
-# linebreaks,\
-# modifierOrder,\
-# numberFormatting,\
-# preferKeyPath,\
-# redundantBackticks,\
-# redundantBreak,\
-# redundantExtensionACL,\
-# redundantFileprivate,\
-# redundantGet,\
-# redundantLet,\
-# redundantLetError,\
-# redundantNilInit,\
-# redundantObjc,\
-# redundantParens,\
-# redundantPattern,\
-# redundantRawValues,\
-# redundantReturn,\
-# redundantSelf,\
-# redundantType,\
-# redundantVoidReturnType,\
-# semicolons,\
-# sortedImports,\
-# sortedSwitchCases,\
-# spaceAroundBraces,\
-# spaceAroundBrackets,\
-# spaceAroundComments,\
-# spaceAroundGenerics,\
-# spaceAroundOperators,\
-# spaceAroundParens,\
-# spaceInsideBraces,\
-# spaceInsideBrackets,\
-# spaceInsideComments,\
-# spaceInsideGenerics,\
-# spaceInsideParens,\
-# strongOutlets,\
-# strongifiedSelf,\
-# todos,\
-# trailingCommas,\
-# trailingSpace,\
-# typeSugar,\
-# unusedArguments,\
-# void,\
-# wrap,\
-# wrapArguments,\
-# wrapAttributes,\
-# wrapEnumCases,\
-# wrapMultilineStatementBraces,\
-# wrapSwitchCases \
-# --disable braces,\
-# redundantInit,\
-# trailingClosures \
-# --commas inline \
-# --exponentcase uppercase \
-# --header strip \
-# --hexliteralcase uppercase \
-# --ifdef indent \
-# --indent 4 \
-# --self remove \
-# --semicolons never \
-# --swiftversion 5.2 \
-# --trimwhitespace always \
-# --maxwidth 130 \
-# --wraparguments before-first \
-# --funcattributes same-line \
-# --typeattributes same-line \
-# --varattributes same-line \
-# --wrapcollections before-first \

+ 1 - 1
Tests/AlarmConditions/BatteryConditionTests.swift

@@ -1,6 +1,6 @@
 // LoopFollow
 // BatteryConditionTests.swift
-// Created by Jonas Björkert on 2025-05-21.
+// Created by Jonas Björkert on 2025-05-23.
 
 @testable import LoopFollow
 import Testing

+ 1 - 1
Tests/AlarmConditions/Helpers.swift

@@ -1,6 +1,6 @@
 // LoopFollow
 // Helpers.swift
-// Created by Jonas Björkert on 2025-05-21.
+// Created by Jonas Björkert on 2025-05-23.
 
 // Tests/AlarmConditions/Helpers.swift
 import Foundation

+ 1 - 1
Tests/Tests.swift

@@ -1,6 +1,6 @@
 // LoopFollow
 // Tests.swift
-// Created by Jonas Björkert on 2025-05-21.
+// Created by Jonas Björkert on 2025-05-23.
 
 import Testing