diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-28 02:56:12 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-28 02:56:12 +0100 |
| commit | a9dd5216ec35f1eda557d7945bcc8347aa251b2b (patch) | |
| tree | 7df3924914ea0a57cd0ad78fe5dc552f88b79b09 /CONTRIBUTING.md | |
| parent | 295626c3d527613c93fa63e2b1f079704600a98e (diff) | |
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.
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
