Skip to content

Commit

Permalink
Add gofumpt to format rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanslade committed Dec 17, 2024
1 parent 239bc78 commit 876f4c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ format:
docker run --rm -v $$PWD/schema.json:/mnt/schema.json node:alpine npx prettier /mnt/schema.json --parser json --tab-width 2 --single-quote --trailing-comma all --no-semi --arrow-parens always --print-width 120 --write
# Format embedded SQL
docker run --rm -v $$PWD/pkg/state/init.sql:/data/init.sql backplane/pgformatter --inplace /data/init.sql
gofumpt -w .

generate: format
# Generate the types from the JSON schema
Expand Down

0 comments on commit 876f4c1

Please sign in to comment.