mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #607] [MERGED] ci(lint): enable unparam linter (phase 2) #650
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#650
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/607
Author: @rudrankriyam
Created: 2/17/2026
Status: ✅ Merged
Merged: 2/17/2026
Merged by: @rudrankriyam
Base:
main← Head:ci/enable-unparam-linter📝 Commits (1)
93463a7ci(lint): enable unparam linter (phase 2 of #602)📊 Changes
26 files changed (+95 additions, -133 deletions)
View changed files
📝
.golangci.yml(+1 -3)➕
asc-downloads.png(+0 -0)📝
internal/asc/analytics.go(+1 -1)📝
internal/asc/analytics_test.go(+6 -6)📝
internal/asc/client_http.go(+2 -2)📝
internal/asc/client_http_test.go(+3 -3)📝
internal/asc/client_performance.go(+5 -5)📝
internal/asc/finance.go(+1 -1)📝
internal/asc/finance_test.go(+1 -1)📝
internal/asc/notary.go(+6 -18)📝
internal/asc/offer_codes.go(+2 -2)📝
internal/asc/output_registry_test.go(+6 -5)📝
internal/auth/keychain.go(+6 -9)📝
internal/cli/cmdtest/profiles_local_test.go(+9 -7)📝
internal/cli/gamecenter/game_center_details.go(+2 -2)📝
internal/cli/gamecenter/game_center_matchmaking.go(+9 -9)📝
internal/cli/notify/notify_test.go(+8 -8)📝
internal/cli/shared/localizations.go(+3 -3)📝
internal/cli/subscriptions/helpers.go(+6 -15)📝
internal/cli/subscriptions/helpers_more_test.go(+7 -7)...and 6 more files
📄 Description
Summary
Enables the
unparamgolangci-lint linter as phase 2 of #602.Fixes all 14 violations across 10 files — all mechanical simplifications with no behavioral changes:
ctx,method,status,teamID,bundleID,bodythat always received the same valuesignS3Request,selectCredential,withDefaultsmax()— Go 1.21+ builtin handles itrequired=truein subscription helpers,minColumns=2in test helperFiles changed
internal/asc/analytics_test.gorawResponse— removed always-200statusparaminternal/asc/client_http.godoStream— removed always-GETmethodand always-nilbodyinternal/asc/notary.gosignS3Request— removed always-nil error returninternal/asc/output_registry_test.goassertRowContains— hardcodedminColumns=2internal/auth/keychain.goselectCredential— removed always-nil error returninternal/cli/cmdtest/profiles_local_test.gobuildMobileprovision— hardcodedteamIDandbundleIDinternal/cli/gamecenter/game_center_*.goascClient— removed unusedctxparaminternal/cli/notify/notify_test.gocaptureOutput— removed never-used stdout returninternal/cli/shared/localizations.gouploadLocalizationValues— removed unusedctxparaminternal/cli/subscriptions/helpers.gorequiredparaminternal/screenshots/frame_test.gomax()(Go builtin)internal/update/update.go,check.gowithDefaults— removed always-nil error returnChecks run
make format— cleanmake lint— passes withunparamenabledASC_BYPASS_KEYCHAIN=1 make test— all tests passCloses phase 2 of #602.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.