forked from ebhomengo/niki
1
0
Fork 0

Merge pull request 'fix(makefile): skip formatting vendor and auto generated files' (#158) from stage/erfan/fix-makefile-format-skipping-vendor into develop

Reviewed-on: ebhomengo/niki#158
This commit is contained in:
hossein 2024-09-11 05:59:03 +00:00
commit 243caf8f82
1 changed files with 1 additions and 1 deletions

View File

@ -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