style: update golangci-lint template with additional linters to exclude
Currently, many Go projects maintain their own golangci-lint configuration file, where they curate a list of excluded linters, which often differs between each project.
Thus, update the template file so that when deployed, all the Go projects will benefit from using the same configuration file, aligned and updated to accommodate various projects.
While at it, update the golangci-lint version to 1.46.2 in the pre-commit configuration template to ensure that same version is used throughout the the entire copier template.
Signed-off-by: Krzysztof Wilczyński kwilczynski@gitlab.com
Edited by Krzysztof Wilczyński