forked from ebhomengo/niki
fix(makefile): skip formatting vendor and auto generated files
This commit is contained in:
parent
9ddcdd7a82
commit
82e71763e2
2
Makefile
2
Makefile
|
@ -16,7 +16,7 @@ format:
|
|||
@which gofumpt || (go install mvdan.cc/gofumpt@latest)
|
||||
@gofumpt -l -w $(ROOT)
|
||||
@which gci || (go install github.com/daixiang0/gci@latest)
|
||||
@gci write $(ROOT)
|
||||
@gci write $(ROOT) --skip-generated --skip-vendor
|
||||
@which golangci-lint || (go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.0)
|
||||
@golangci-lint run --fix
|
||||
|
||||
|
|
Loading…
Reference in New Issue