add protolint; make all files indentation consistent with 2 spaces

This commit is contained in:
Mike Kinney 2021-11-30 11:45:01 -08:00
parent 0de53c84a2
commit dee54fa738
14 changed files with 583 additions and 561 deletions

View file

@ -22,4 +22,10 @@ To generate Nanopb c code:
* /home/kevinh/packages/nanopb-0.4.4-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto
Nanopb binaries available here:
* https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.4
* https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.4
To lint:
* Install protolint: brew tap yoheimuta/protolint; brew install protolint
* Run it from the main directory: *protolint* lint .
* (optional) Have it fix the mundane warnings: *protolint* lint -fix .
* See https://github.com/yoheimuta/protolint for more info