Skip to content

Commit

Permalink
build: 🔨 change in the script
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Aug 11, 2023
1 parent 0e7deed commit 7ae0a1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ gofumpt -l -w .

# https://github.com/incu6us/goimports-reviser
# will do `gofmt` and `goimports` internally
goimports-reviser ./... -rm-unused -local -set-alias -format -recursive
# -rm-unused, -set-alias have some errors
goimports-reviser -local -format -recursive ./...

# https://github.com/segmentio/golines
golines -m 120 -w --ignore-generated .
Expand Down

0 comments on commit 7ae0a1f

Please sign in to comment.