Steve Yegge
c2c7eda14f
Fix 15 lint errors: dupl, gosec, revive, staticcheck, unparam
Reduced golangci-lint issues from 56 to 41:
Fixed:
- dupl (2→0): Extracted parseLabelArgs helper, added nolint for cobra commands
- gosec G104 (4→0): Handle unhandled errors with _ = assignments
- gosec G302/G306 (4→0): Fixed file permissions from 0644 to 0600
- revive exported (4→0): Added proper godoc comments for all exported types
- staticcheck SA1019 (1→0): Removed deprecated netErr.Temporary() call
- staticcheck SA4003 (1→0): Removed impossible uint64 < 0 check
- unparam (8→0): Removed unused params/returns, added nolint where needed
Renamed types in compact package to avoid stuttering:
- CompactConfig → Config
- CompactResult → Result
Remaining 41 issues are documented baseline:
- gocyclo (24): High complexity in large functions
- gosec G204/G115 (17): False positives for subprocess/conversions
Closes bd-92
Amp-Thread-ID: https://ampcode.com/threads/T-1c136506-d703-4781-bcfa-eb605999545a
Co-authored-by: Amp <amp@ampcode.com>
2025-10-24 12:40:56 -07:00
..
2025-10-16 18:08:58 -07:00
2025-10-23 10:25:13 -07:00
2025-10-23 10:25:13 -07:00
2025-10-16 00:26:42 -07:00
2025-10-16 17:43:38 -07:00
2025-10-24 12:27:07 -07:00
2025-10-22 00:07:00 -07:00
2025-10-24 12:40:56 -07:00
2025-10-16 13:32:44 -07:00
2025-10-24 00:34:52 -07:00
2025-10-24 00:34:52 -07:00
2025-10-21 15:01:26 -07:00
2025-10-17 13:50:20 -07:00
2025-10-19 21:14:23 -07:00
2025-10-20 22:18:08 -07:00
2025-10-20 22:18:08 -07:00
2025-10-18 13:12:14 -07:00
2025-10-19 21:14:23 -07:00
2025-10-19 18:28:41 -07:00
2025-10-24 12:25:24 -07:00
2025-10-24 12:25:24 -07:00
2025-10-22 22:05:58 -07:00
2025-10-18 17:14:21 -07:00