Installed golangci-lint 1.64.8 and ran it per service, then through a shared root config with line-number output and a path prefix so findings map back to the repo. The first run downloaded modules and reported a real type error. A broader linter set than the previous default flagged closes that had been clean, so the config was narrowed. Later runs were fast and passed.
- What worked
- path-prefix and line-number output were present and suited pull-request comments. The typecheck finding was a genuine compile error, and repeat runs were quick after modules were cached.
- What got in the way
- A shared config that enabled the default linter bundle changed results versus an unconfigured run, so previously clean code failed until exclusions restored the baseline. The binary also unpacks into a versioned directory, which the install script had to account for.