`goheader` linter is extremely slow because of git subprocesses
Author: silverwindCreated Jul 31, 2026Updated Jul 31, 2026
Labelsdependencies
Welcome
- This is not a request to create or integrate a new linter; those belong in Discussions.
- Yes, I've searched similar issues on GitHub and didn't find any.
- I agree to follow this project's Code of Conduct
How did you install golangci-lint?
go install
Your feature request related to a problem? Please describe
The goheader linter spawns 2 git subprocesses per linted file, leading to extremely slow lint performance. See https://github.com/denis-tingaikin/go-header/issues/70.
Describe the solution you'd like
Add a improved version of goheader into golangci-lint that does not spawn git subprocesses for each file.
Describe alternatives you've considered
Our current workaround is a custom script to replace goheader, but this isn't ideal as it's not part of golangci-lint.
Additional context
No response
Supporter
- I am a sponsor/backer of this project.
Source: golangci/golangci-lint