please consider using clang-format for consistent code styling
Posted: Wed May 31, 2023 8:56 am
Hi,
I would like to contribute a line changes that I'm currently working on back to the upstream of this project. My intentions are to be as unintrusive as possible with these changes. Unfortunately there are no written contribution guidelines available yet though. Therefore I assume that the bare minimum are that the changes are tested, obviously and that a coherent code style is adhered to. For this reason I would like to ask kindly though if it was possible to either agree on a common code styling convention such as GNU or the Linux Kernel's or codify the current code styling convention into a clang-format configuration file. That would be very helpful to ensure that the changes do not look out of line with the rest of the project at least. One way how this could look like is show-cased here: https://github.com/0x5a17ed/wimlib/tree/clang-format.
What are your thoughts?
I would like to contribute a line changes that I'm currently working on back to the upstream of this project. My intentions are to be as unintrusive as possible with these changes. Unfortunately there are no written contribution guidelines available yet though. Therefore I assume that the bare minimum are that the changes are tested, obviously and that a coherent code style is adhered to. For this reason I would like to ask kindly though if it was possible to either agree on a common code styling convention such as GNU or the Linux Kernel's or codify the current code styling convention into a clang-format configuration file. That would be very helpful to ensure that the changes do not look out of line with the rest of the project at least. One way how this could look like is show-cased here: https://github.com/0x5a17ed/wimlib/tree/clang-format.
What are your thoughts?