Linter + Prettier suggestions for Go

Hello, could anyone recommend tested and trustworthy extension for VS Code to act as ESLint for JS? Also it would be great if user can set it to fix fixable problems on save. Im asking because its not so easy to find quality reviews/topics about existing linters for Go.

The official Go extension for VS Code includes a linter and a formatter that act on file save by default, provided by staticcheck and goimports respectively. Both can be changed if needed in the settings, but work really nice out of the box.

1 Like