-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide .clang-format & .clang-tidy #13
Comments
I could make a proposal for a clang-format file. But I'd wait for #10 to be finished to not run into any struggles with merges. |
Just a quick question for that. Should we use tabs or spaces for indentation? In the latter case, how many? |
I've also noticed that the naming conventions are a bit inconsistent. Is there any specific rule that should be followed? I think that clang-tidy can enforce naming conventions. Just as an example camelCase vs snake_case for variables and struct members. |
This makes the coding style for the project consistent. Could be combined with a simple script or even local commit hook that runs it for all files.
The text was updated successfully, but these errors were encountered: