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:
@@ -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/
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user