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 .