Linting

July 24, 2026 ยท View on GitHub

Run the linter against the codebase:

make lint

To automatically fix lint issues, pass --fix via the GOLANGCI_LINT_EXTRA_ARGS variable:

GOLANGCI_LINT_EXTRA_ARGS=--fix make lint

GOLANGCI_LINT_EXTRA_ARGS is forwarded verbatim to golangci-lint run, so any other supported flags can be passed the same way.