Skip to content

add clang-format config#2

Merged
ujaandas merged 1 commit intomainfrom
chore/lang/clang-format
Apr 3, 2026
Merged

add clang-format config#2
ujaandas merged 1 commit intomainfrom
chore/lang/clang-format

Conversation

@ujaandas
Copy link
Copy Markdown
Owner

@ujaandas ujaandas commented Apr 3, 2026

This PR standardizes C++ formatting and linting across the project so editors can format the same way prek does.

  • Adds a custom .clang-format file to define code style.
  • Updates prek.toml hooks (clang-format, clang-tidy, cppcheck) to:
    • Use the project style (--style=file)
    • Run only on C/C++ source and header files

@ujaandas ujaandas merged commit 830b8f7 into main Apr 3, 2026
1 check passed
@ujaandas ujaandas deleted the chore/lang/clang-format branch April 10, 2026 18:25
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

Successfully merging this pull request may close these issues.

1 participant