From 7ae0a1f6b0cc7cef028f945fd0b92b6f5cb89810 Mon Sep 17 00:00:00 2001 From: mehdihadeli Date: Fri, 11 Aug 2023 13:22:03 +0330 Subject: [PATCH] build: :hammer: change in the script --- scripts/format.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/format.sh b/scripts/format.sh index 799b9c9b..e1aef844 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -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 .