a .clang-format style file that provides formatting rules (which can be modified/customized)
make format an easy command to run to consistently format all the code (and ensure a consistent version of clang-format is available)
a travis job that runs a check to catch when you've forgotten to format your code and in contains incorrectly formatted code (uses same clang-format version as is used locally by make format)
We can improve by adding docs/recommendations for developers for how to:
integrate the mason installed clang-format with common text editors such that formatting happens during coding (like seen in https://youtu.be/uZI_Qla4pNA?t=1904)
node-cpp-skel has support for:
.clang-format
style file that provides formatting rules (which can be modified/customized)make format
an easy command to run to consistently format all the code (and ensure a consistent version of clang-format is available)make format
)We can improve by adding docs/recommendations for developers for how to: