tinkerbell / lint-install

Consistently install reasonable linter rules for open-source projects
Apache License 2.0
6 stars 7 forks source link

Add 'gofumpt' check #11

Closed tstromberg closed 2 years ago

tstromberg commented 2 years ago

Produce a list of files that should be "gofumpt'd", as well as a command to fix the files.

This will produce better output than golangci-lint currently does.

Consider filtering out .pb.go autogen files.

mmlb commented 2 years ago

I'd say we should do gofumpt on autogenerated files too. We can do it either as a second //go:generate directive or in the makefile recipe (latter is already being used in most cases I think).