13-CF / afetch

Simple system info written in C
GNU General Public License v3.0
221 stars 39 forks source link

clang-format configuration created & applied to codebase #61

Closed kdx2a closed 3 years ago

kdx2a commented 3 years ago

Using a tool such as clang-format can help to adopt a consistant styling througout the codebase. The command I ran to beautify the existing codebase is:

clang-format -style=file -i src/*

It uses the configuration settings you can find in the .clang-format file.

13-CF commented 3 years ago

This is great! I'll have to learn about clang-format as I haven't used it before, but it definately seems very useful.