supermileage / telemetry-firmware

Firmware for the Particle Electron that powers the CAN-enabled telemetry module.
1 stars 2 forks source link

Develop a Telemetry C++ style guide #40

Closed silviu-toderita closed 2 years ago

silviu-toderita commented 3 years ago

Develop (or find) a short style guide for the Telemetry project firmware in C++. About a page should be good!

lcfyi commented 3 years ago

It would be good to also add a linter or static analysis tool as an additional step for our Github Actions. I've used this in the past, but it's probably too heavy and we can build our own image with just cpplint and/or cppcheck to run.

That would mean we'd add a step to the dev workflow where we'd run the linters before pushing, but it should help in improving code quality.