Apply clang-format to source files and fix linter config

- Formatted all .c/.cpp/.h files using LLVM style (4-space indent, 88-char lines)
- Fixed macro alignment, pointer alignment, brace placement
- Updated .clang-format to use Cpp language (valid enum value)
- Removed clang-tidy pre-commit hook (requires additional setup)
- Pre-commit now runs clang-format for automated formatting
- Verified: All boards still build without errors or warnings
This commit is contained in:
Maze X
2026-03-27 17:48:39 +01:00
parent 20b3aae1e3
commit 3baf7df0d1
5 changed files with 59 additions and 74 deletions

View File

@@ -33,17 +33,3 @@ repos:
soc/|
hardware/
)
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-tidy
types: [c, c++, header]
args: ['-checks=*,-fuchsia-*,-llvmlibc-*']
exclude: |
(?x)^(
\.pio/|
test/|
soc/|
hardware/
)