diff --git a/AGENTS.md b/AGENTS.md index 0ff1634d..de4e8ef2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -100,6 +100,7 @@ Reducer ← .terminalEvent(Event) ← AsyncStream - Trailing commas are mandatory (enforced by `.swiftlint.yml`) - SwiftLint runs in strict mode; never disable lint rules without permission - Custom SwiftLint rule: `store_state_mutation_in_views` — do not mutate `store.*` directly in view files; send actions instead +- Before creating a PR, run `make lint`. ## UX Standards diff --git a/supacode/App/KeybindingSchema.swift b/supacode/App/KeybindingSchema.swift index e8adce35..9b7086fd 100644 --- a/supacode/App/KeybindingSchema.swift +++ b/supacode/App/KeybindingSchema.swift @@ -133,24 +133,6 @@ nonisolated struct KeybindingCommandSchema: Codable, Equatable, Sendable { var allowUserOverride: Bool var conflictPolicy: KeybindingConflictPolicy var defaultBinding: Keybinding? - - init( - id: String, - title: String, - scope: KeybindingScope, - platform: KeybindingPlatform, - allowUserOverride: Bool, - conflictPolicy: KeybindingConflictPolicy, - defaultBinding: Keybinding? - ) { - self.id = id - self.title = title - self.scope = scope - self.platform = platform - self.allowUserOverride = allowUserOverride - self.conflictPolicy = conflictPolicy - self.defaultBinding = defaultBinding - } } nonisolated struct KeybindingUserOverrideStore: Codable, Equatable, Sendable {