From a9dd5216ec35f1eda557d7945bcc8347aa251b2b Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 02:56:12 +0100 Subject: docs(contributing): Exclude assets/ and archive/ from clang-format Updates the clang-format command in CONTRIBUTING.md to explicitly exclude the 'assets/' and 'archive/' directories. This prevents clang-format from attempting to process large, non-source files in these directories, which can cause hangs or unexpected behavior. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 45630d5..8f94c37 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ All code **must** be formatted using `clang-format` before committing. This ensu To format your code, run the following command from the project root: ```bash -clang-format -i $(git ls-files | grep -E '\.(h|cc)$') +clang-format -i $(git ls-files | grep -E '\.(h|cc)$' | grep -vE '^(assets|archive)/') ``` Refer to the `.clang-format` file in the project root for the specific style rules. -- cgit v1.2.3