Skip to content

goheader linter is extremely slow because of git subprocesses #6691

Description

@silverwind

Welcome

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 denis-tingaikin/go-header#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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesRelates to an upstream dependency

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions