Skip to content

Commit

Permalink
Adjust swiftlint disable comments (#7)
Browse files Browse the repository at this point in the history
# Adjust swiftlint disable comments


## ⚙️ Release Notes 
* Update swiftlint disable comments to the latest release 0.57.1
## 📝 Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
Supereg authored Dec 18, 2024
1 parent e805df8 commit b886f19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/StanfordSpezi/Spezi.git", from: "1.8.0"),
.package(url: "https://github.com/StanfordSpezi/SpeziViews.git", from: "1.7.0")
.package(url: "https://github.com/StanfordSpezi/SpeziViews.git", from: "1.7.1")
] + swiftLintPackage(),
targets: [
.target(
Expand Down
6 changes: 3 additions & 3 deletions Sources/SpeziNotifications/Notifications.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public final class Notifications: Module, DefaultInitializable, EnvironmentAcces
/// - isolation: Inherits the current isolation.
/// - badgeCount: The new badge count to display.
@available(watchOS, unavailable)
public func setBadgeCount( // swiftlint:disable:this function_default_parameter_at_end
public func setBadgeCount(
isolation: isolated (any Actor)? = #isolation,
_ badgeCount: Int
) async throws {
Expand All @@ -66,7 +66,7 @@ public final class Notifications: Module, DefaultInitializable, EnvironmentAcces
/// - Parameters:
/// - isolation: Inherits the current isolation.
/// - request: The notification request.
public func add( // swiftlint:disable:this function_default_parameter_at_end
public func add(
isolation: isolated (any Actor)? = #isolation,
request: UNNotificationRequest
) async throws {
Expand Down Expand Up @@ -114,7 +114,7 @@ public final class Notifications: Module, DefaultInitializable, EnvironmentAcces
/// - isolation: Inherits the current isolation.
/// - categories: The notification categories you support.
@available(tvOS, unavailable)
public func add( // swiftlint:disable:this function_default_parameter_at_end
public func add(
isolation: isolated (any Actor)? = #isolation,
categories: Set<UNNotificationCategory>
) async {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ extension XCUIApplication {
/// - type: The trigger type to assert.
/// - nextTrigger: The next trigger label to assert.
/// - nextTriggerExistenceTimeout: The time to await for the trigger label to appear.
public func assertNotificationDetails( // swiftlint:disable:this function_default_parameter_at_end
identifier: String? = nil,
public func assertNotificationDetails(
identifier: String? = nil, // swiftlint:disable:this function_default_parameter_at_end
title: String,
subtitle: String? = nil,
subtitle: String? = nil, // swiftlint:disable:this function_default_parameter_at_end
body: String,
category: String? = nil,
thread: String? = nil,
Expand Down

0 comments on commit b886f19

Please sign in to comment.