DockerCLI/dockerfiles
Sebastiaan van Stijn c2f1671595
Use gofumpt if available, and enable gofumpt linter
gofumpt provides a supserset of gofmt / go fmt, but not every developer may have
it installed, so for situations where it's not available, fall back to gofmt.

As our code has been formatted with gofumpt already, in most cases contributions
will follow those formatting rules, but in some cases there may be a difference,
which would already be flagged by manual code review, but let's also enable the
gofumpt linter.

With this change, `make fmt` will use gofumpt is available; gofumpt has been
added to the dev-container, so `make -f docker.Makefile fmt` will always use it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-30 19:14:36 +02:00
..
Dockerfile.authors Dockerfile: use syntax=docker/dockerfile:1 2022-03-17 10:40:17 +01:00
Dockerfile.dev Use gofumpt if available, and enable gofumpt linter 2022-09-30 19:14:36 +02:00
Dockerfile.lint Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-08 10:40:08 +02:00
Dockerfile.shellcheck Dockerfile: use syntax=docker/dockerfile:1 2022-03-17 10:40:17 +01:00
Dockerfile.vendor Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-08 10:40:08 +02:00