Open lcd1232 opened 1 year ago
Thanks @lcd1232
Getting
Error: ../internal/helpers/appdir.go:157:16: undefined: errors.Join
Error: ../internal/helpers/appdir.go:177:16: undefined: errors.Join
note: module requires Go 1.20
Error: Process completed with exit code 2.
Do you know what is going on there?
@probonopd it seems like you have go version lower than go1.20. Could you check what's your version using go version
?
Thank you very much. Looks like it is working as intended now?
@CalebQ42 how do you like this?
Ultimately I think having a consistent linter strategy is a good thing, but I'm not sure golangci-linter
is a good choice. It doesn't seem to provides any tangible benefits vs using a single linter. I personally have been using staticcheck since it's the default for VS Code and golangci-linter
didn't seem to catch anything new in this project or any of my other projects. Additionally on golangci-linter
's own website it says it includes staticcheck
even though it's author is against it, which turns me off enough that I personally won't be using it in my personal projects.
pre-commit run --all-files
)