Skip to content

Add .clang-format File #39

Open
Open
@itzmeanjan

Description

@itzmeanjan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions