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
make use of clang-format or uncrustify #395
Comments
editorconfig is not really up to the task as
|
clang-format could step in
|
May I suggest to use uncrustify instead? The big advantage is that the configuration is much simple, and it has an example following the K&R style by default https://github.com/uncrustify/uncrustify/blob/master/etc/kr-indent.cfg, that file can be easily modified for the bracket and space customization. Uncrustify works quite well, it's actively maintained and can be easily integrated in many editors, IDE and build systems. If you give me the GO I can try to submit a PR. |
Sounds promising, but all kinds of formatting changes are probably held up by open PRs and #394 - after those, this can be tackled, me thinks |
add style spec
format all code
enforce in CI
The text was updated successfully, but these errors were encountered: