Skip to content

Fix 15 SwiftLint errors blocking release workflow#10

Merged
PatelUtkarsh merged 1 commit intomainfrom
fix/swiftlint-errors
Feb 20, 2026
Merged

Fix 15 SwiftLint errors blocking release workflow#10
PatelUtkarsh merged 1 commit intomainfrom
fix/swiftlint-errors

Conversation

@PatelUtkarsh
Copy link
Owner

Summary

  • Fix all 15 SwiftLint errors that caused the v2.2.0 release workflow to fail

Errors fixed

Rule Count Files
opening_brace 4 TranscriptionEngine, GroqEngine (x2), OpenAIEngine
redundant_string_enum_value 4 TranscriptionEngine (all 4 enum cases)
pattern_matching_keywords 4 WAVEncoder, TranscriptionManager
trailing_comma 3 KeychainHelper (save, get, delete queries)

Context

The v2.2.0 release tag triggered the release workflow which runs swiftlint lint --strict. These errors were introduced across PRs #5#7 but weren't caught locally since SwiftLint requires full Xcode.app (not available in the dev environment).

After merging, re-tag v2.2.0 to trigger the release:

git tag v2.2.0 && git push origin v2.2.0

- opening_brace: move opening braces to same line in computed properties
- redundant_string_enum_value: remove explicit raw values matching case names
- pattern_matching_keywords: move let/var outside tuples in case patterns
- trailing_comma: remove trailing commas from dictionary literals
@PatelUtkarsh PatelUtkarsh merged commit fd45a89 into main Feb 20, 2026
3 checks passed
@PatelUtkarsh PatelUtkarsh deleted the fix/swiftlint-errors branch February 20, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant