-
I use gofumpt but I'm pretty sure it doesn't wrap either (and I don't want it to so we're good)
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
For JavaScript I love https://prettier.io/ - is there something similar for Go that provides a stricter and more opinionated formatting?
-
revive
🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
Been using https://github.com/mgechev/revive in all my projects.
-
Goimports and revive (golint is deprecated iirc, so stick to revive) are nice. I have been using golangci lint with different linters enabled, which works really well. https://github.com/golangci/golangci-lint