Closed Olshansk closed 4 months ago
Tools that I use that seem to be what we are looking for:
https://pkg.go.dev/github.com/incu6us/goimports-reviser#section-readme
This sorts imports the way we want them to be
https://github.com/yoheimuta/protolint
For protobufs - imports and lints very nicely (considers import order too)
@h5law After we merge in #252, let's add a page / section called devtools so all contributors can have the same configs.
See https://github.com/pokt-network/poktroll/pull/283#issuecomment-1865796092 (@Olshansk @h5law)
Objective
Standardize & enforce imports across the codebase
Origin Document
This is the result of several discussions from #253:
Goals
Deliverables
gofmt
,goimport
, etc...)make go_imports
to use the select toolNon-goals / Non-deliverables
Creator: @Olshansk Co-Owners: @bryanchriswhite @h5law