Closed aneeshdurg closed 2 years ago
I second this. I think this is a great cleanup PR!
This is great, thanks!
Oops, sorry looks like this commit changed the order of includes in src/Watchy.h
and broke the compilation, will have to change that back
Having a consistent style would make contributing easier for first-time devs! Ideally, this should be run as part of github-actions, but I just wanted to put up a simple PR just introducing the formatting changes to get a discussion around this going.
For auto-formatting, I'm using clang-format, mostly going with llvm style, but with modifications to preserve some of the existing aesthetic decisions around macro formatting (and a possibly controversial choice around assignment formatting).