diff --git a/Makefile b/Makefile index f7ca573d6..587f075a4 100644 --- a/Makefile +++ b/Makefile @@ -39,14 +39,14 @@ cover: test # gofmt and goimports all go files fmt: find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done - find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write + # find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write .PHONY: fmt # Run all the linters lint: # TODO: fix tests and lll issues ./bin/golangci-lint run --tests=false --enable-all --disable=lll ./... - find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l + # find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l .PHONY: lint # Run all the tests and code checks