golangci-lint add more and more linters, so new/updated linter can fail
with existing code (e.g. [1]). It's also very slow to run all linters on
pre-commit too, IMO.
We could add golangci-lint config too, but I prefer running default
linters for now, as it's currently failing and reason described above.
golangci-lint add more and more linters, so new/updated linter can fail with existing code (e.g. [1]). It's also very slow to run all linters on pre-commit too, IMO.
We could add golangci-lint config too, but I prefer running default linters for now, as it's currently failing and reason described above.
[1] https://travis-ci.org/goreleaser/godownloader/builds/632690812?utm_source=github_status&utm_medium=notification main.go:285:12: mnd: Magic number: 1, in detected (gomnd)
os.Exit(1)
^