Northeastern-Electric-Racing / Cerberus

Our FreeRTOS-based vehicle control application
1 stars 0 forks source link

Build Clang Format into Docker Container #61

Closed nwdepatie closed 12 months ago

nwdepatie commented 1 year ago

This is a pretty simple ticket, we just gotta set up ClangFormat to format some code and check for some general nitpicky stuff. Another benefit would be to integrate it into docker to have an auto formatting script

nwdepatie commented 1 year ago

I think there is still a lot of talk to be done about what specific code standard we wanna shoot for, personally I really like the Linux clang-format file but I think we gotta investigate other comprehensive ones that the team likes better

nwdepatie commented 12 months ago

clang-format --style=file -i Core/Src/main.c <-- the command to autoformat a file with clangformat

nwdepatie commented 12 months ago

Actually I kinda like webkit's format