Updated source-formatting.md

This commit is contained in:
John Wellbelove 2026-04-01 17:28:48 +01:00
parent ffae4ad023
commit 7ac2abfb99

View File

@ -7,8 +7,6 @@ This project uses **clang-format** (version 18) to enforce a consistent coding s
for C and C++ source files. For convenience, **treefmt** is also configured as a
single-command wrapper that discovers and formats every file in the tree.
---
## clang-format
### Configuration file
@ -42,9 +40,6 @@ You can also format individual files directly:
```bash
scripts/clang-format-wrapper -i --style=file path/to/file.cpp
```
---
## treefmt
[treefmt](https://treefmt.com) is a language-agnostic source-tree formatter.
@ -87,8 +82,6 @@ treefmt
treefmt --fail-on-change
```
---
## Excluded paths
`.treefmt.toml` excludes generated files under