mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #602] ci(lint): phase in stricter golangci-lint linters (errorlint/misspell/unparam) #169
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#169
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?
Originally created by @rudrankriyam on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/602
Context
We added a baseline
.golangci.ymlto keep linting consistent and enforce core Go hygiene (govet,staticcheck,stylecheckfor ST1005,errcheck,unused, etc.).Turning on additional linters immediately causes large repo-wide cleanup ("churn"). This issue tracks a phased rollout to tighten linting without a massive, hard-to-review PR.
Goal
Incrementally enable additional linters in a way that is:
Proposed rollout (phased)
Phase 1:
misspellmisspell.cancelled,cancelling) and domain words.Acceptance criteria:
make lintpasses in CI.Phase 2:
unparamunparam.Acceptance criteria:
make lintpasses.ASC_BYPASS_KEYCHAIN=1 make testpasses.Phase 3:
errorlinterrorlintwith a staged approach:_test.goif necessary (reduce initial blast radius)errors.Is/As, correct%wwrapping, avoid==with sentinel errorsAcceptance criteria:
make lintpasses witherrorlintenabled.Non-goals (for now)
stylecheckST1003 naming rules that would require package renames (e.g.app_events). That can be tracked separately if ever desired.Notes