Skip to content

Extract profile mode strings to constants#4

Merged
andrew merged 1 commit into
mainfrom
fix/goconst-profiles
May 2, 2026
Merged

Extract profile mode strings to constants#4
andrew merged 1 commit into
mainfrom
fix/goconst-profiles

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented May 2, 2026

golangci-lint 2.12 flags `"default"` and `"pessimistic"` in `cmd/pom/main.go` and `main_test.go` under `goconst`. Extracts them to `profileDefault` and `profilePessimistic` constants.

This is currently making unrelated PRs (#2, #3) fail lint since CI runs against the whole package.

@andrew andrew merged commit e185070 into main May 2, 2026
2 checks passed
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