You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(lint): resolve all 49 golangci-lint issues (#262)
* fix(lint): resolve all 49 golangci-lint issues
- Upgrade golangci-lint config to v2 with stricter linters
- Replace interface{} with any and use maps.Copy, strings.SplitSeq
- Use errors.New for static error strings instead of fmt.Errorf
- Use http.StatusOK and http.MethodGet stdlib constants in tests
- Replace os.Chdir/os.Setenv with t.Chdir/t.Setenv in tests
- Add required explanations to all nolint directives
- Replace fmt.Printf with proper error returns in anthropic provider
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(lint): address PR review feedback
- Wrap original error with %w in anthropic APIError branches
- Add trailing newline to color.White version output
- Quote file path in test shell command with fmt.Sprintf %q
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(lint): resolve windows-specific lint issues
- Use errors.New for static error strings in api_key_helper_windows.go
- Modernize for loops to range over int in windows test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments