Skip to content

Fix logic for .globalKeyboardShortcut() #166

Fix logic for .globalKeyboardShortcut()

Fix logic for .globalKeyboardShortcut() #166

Triggered via pull request November 30, 2024 06:32
Status Failure
Total duration 37s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint: Sources/KeyboardShortcuts/Shortcut.swift#L299
No Extension Access Modifier Violation: Prefer not to use extension access modifiers (no_extension_access_modifier)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L532
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L548
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L551
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L553
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L573
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L592
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L595
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L597
Superfluous Else Violation: Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L303
Cases on Newline Violation: Cases inside a switch should always be on a newline (switch_case_on_newline)
lint: Sources/KeyboardShortcuts/Shortcut.swift#L304
Cases on Newline Violation: Cases inside a switch should always be on a newline (switch_case_on_newline)