when running golangci-lint2 as part of the trunk pre-commit action, it never detects any errors because any files that are staged for the current commit are considered "existing".
running the linter manually via trunk using --show-existing is the only way to error out on any files that are staged for commit.
the golangci-lint pre-commit hook uses the following args: golangci-lint run --new-from-rev HEAD --fix. maybe the --new-from-rev is what matters to us?