Skip to content
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

Add .clang-format File #39

Open
itzmeanjan opened this issue Jan 31, 2024 · 1 comment
Open

Add .clang-format File #39

itzmeanjan opened this issue Jan 31, 2024 · 1 comment

Comments

@itzmeanjan
Copy link
Contributor

Right now we don't have .clang-format file for dudect, so source formatting is not consistent across IDEs. I propose we adopt "Mozilla" code style template from ClangFormat. See https://clang.llvm.org/docs/ClangFormatStyleOptions.html.

Generate .clang-format config file

clang-format --style=Mozilla --dump-config > .clang-format

And update Makefile (add new Make recipe) so that all source code living inside the repository is consistently formatted.

@itzmeanjan
Copy link
Contributor Author

itzmeanjan commented Jan 31, 2024

@oreparaz I'll send a PR in sometime, just so that we can see the diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant