chore(lint): re-enable staticcheck and unused
ci / lint (pull_request) Successful in 6m32s
ci / image (pull_request) Successful in 6m29s
ci / build (pull_request) Successful in 11m31s
ci / test (pull_request) Successful in 12m59s

golangci-lint v2.15.0 ships a honnef.co/go/tools that analyzes the Go 1.27
standard library without panicking. Fix what they found: dead helpers, an
unused constant, error strings starting with a product name, the usage
error, and two negations simplified by De Morgan.

Closes #43

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-23 07:12:20 +01:00
1 parent 1ad68e2e87
commit d58e3e2653
14 files changed
+20 -25

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ var emailProviders = []Provider{
AccessToken string `json:"access_token"`
}
if json.Unmarshal(reply, &tok) != nil || tok.AccessToken == "" {
return errors.New("Microsoft Entra issued no access token")
return errors.New("no access token from Microsoft Entra")
}
recipients := func(s string) []any {
return addresses(s, func(a string) any { return map[string]any{"emailAddress": map[string]string{"address": a}} })