Skip to content

Fix misspell lint failure on main (strat → strategy)#18

Merged
vingrad merged 1 commit into
mainfrom
fix/misspell-strat-lint
Jun 13, 2026
Merged

Fix misspell lint failure on main (strat → strategy)#18
vingrad merged 1 commit into
mainfrom
fix/misspell-strat-lint

Conversation

@vingrad

@vingrad vingrad commented Jun 13, 2026

Copy link
Copy Markdown
Owner

The CI golangci-lint step is failing on main after PR #17 merged: the misspell linter flags the standalone word strat as a typo of start in internal/pack/pack_test.go.

strat was a local helper in TestValidateStrategies and the only standalone strat token in the tree (production code uses Strategy/StrategyDescriptor, which misspell doesn't flag), so this renames just that helper to strategy rather than whitelisting the word globally — a global ignore would mask genuine stratstart typos elsewhere.

Verified locally: golangci-lint run ./... clean, go build ./..., go test ./internal/pack/... pass.

The misspell linter flags the standalone word strat as a typo of start,
breaking the lint step on main. The helper is local to TestValidateStrategies
and was the only standalone strat in the tree; rename it to strategy.
@vingrad vingrad merged commit c4a164c into main Jun 13, 2026
3 checks passed
@vingrad vingrad deleted the fix/misspell-strat-lint branch June 13, 2026 07:04
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