cli icon indicating copy to clipboard operation
cli copied to clipboard

Scaffolding: fix indentation inconsistencies in generated proto files

Open lumtis opened this issue 4 years ago • 2 comments

There may be different inconsistencies in the indentation for generated proto code: https://github.com/tendermint/spn/pull/294/files#r704611184 we should investigate them, fix and make generated proto files well formated. I believe 2 spaces for indentation.

Or we can check for a tool that autoformat proto code

lumtis avatar Sep 09 '21 07:09 lumtis

I've noticed that the tx.proto's Msg service indents the first rpc by 3 tab characters whereas subsequent calls to scaffold message only indents by 1 tab character Screen Shot 2022-01-02 at 3 40 50 PM .

jaredalonzo avatar Jan 02 '22 20:01 jaredalonzo

Check formatting state of files today. We can consider an additional linting tool to enforce formatting.

salmad3 avatar Feb 29 '24 16:02 salmad3