From defcc4504fb366d50b561563b28ccd64643e61af Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 03:17:07 +0100 Subject: docs(contributing): Exclude third_party/ from clang-format Updates the clang-format command in CONTRIBUTING.md to explicitly exclude the 'third_party/' directory. This prevents clang-format from modifying external library code and avoids potential processing issues. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f94c37..ffacc81 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)$' | grep -vE '^(assets|archive)/') +clang-format -i $(git ls-files | grep -E '\.(h|cc)$' | grep -vE '^(assets|archive|third_party)/') ``` Refer to the `.clang-format` file in the project root for the specific style rules. -- cgit v1.2.3