chore: format (#38)
* setup * tidy * format * final format --------- Co-authored-by: aljo242 <alex@shmeeload.xyz>
This commit is contained in:
@@ -176,3 +176,16 @@ lint-markdown:
|
||||
@markdownlint **/*.md
|
||||
|
||||
.PHONY: lint lint-fix lint-markdown
|
||||
|
||||
###############################################################################
|
||||
### Formatting ###
|
||||
###############################################################################
|
||||
|
||||
format: use-main
|
||||
|
||||
format:
|
||||
@find . -name '*.go' -type f -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w .
|
||||
@find . -name '*.go' -type f -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run github.com/client9/misspell/cmd/misspell -w
|
||||
@find . -name '*.go' -type f -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run golang.org/x/tools/cmd/goimports -w -local github.com/skip-mev/block-sdk
|
||||
|
||||
.PHONY: format
|
||||
|
||||
Reference in New Issue
Block a user