switch to gofumpt
This commit is contained in:
6
Makefile
6
Makefile
@@ -14,12 +14,12 @@ default: debug
|
||||
commit: fmt lint
|
||||
git commit -a
|
||||
|
||||
# get goimports with:
|
||||
# go get golang.org/x/tools/cmd/goimports
|
||||
# get golangci-lint with:
|
||||
# go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0
|
||||
# get gofumports with:
|
||||
# go get mvdan.cc/gofumpt/gofumports
|
||||
fmt:
|
||||
goimports -l -w .
|
||||
gofumports -l -w .
|
||||
golangci-lint run --fix
|
||||
|
||||
lint:
|
||||
|
||||
Reference in New Issue
Block a user