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
- errcheck: explicitly discard f.Close() error in EnsureConfigFile
- errorlint: use errors.As instead of type assertion for HaltError
- goconst: suppress "windows" constant warning (standard runtime value)
- gocritic appendAssign: use copy+append instead of append to different slice
- gosec G301/G302: tighten permissions to 0750/0600 for config dir/file
- gosec G304: nolint for OpenFile/ReadFile on known-safe paths
- gosec G306: tighten test WriteFile permissions to 0600
- noctx: use exec.CommandContext instead of exec.Command
- testifylint: use assert.Positive instead of assert.Greater with 0
- wrapcheck: wrap all errors from external packages (fmt.Fprintln,
io.Writer.Write, shlex.Split, exec.Cmd.Run)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments