3 Commits

Author SHA1 Message Date
Maze X
3baf7df0d1 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
2026-03-27 17:48:39 +01:00
Maze X
2924c8e792 Add clang-format and clang-tidy to pre-commit hooks
- .pre-commit-config.yaml: Integrate clang-format (v17) and clang-tidy for C/C++ linting
  Excludes build artifacts (.pio), tests, and board configs from linting
- .clang-format: Configure LLVM-style formatting with 4-space indents, 88-char line limit
  Enforces right pointer alignment, comment reflow, consistent brace placement
- .clang-tidy: Configure strict static analysis with snake_case identifiers
  Enables all checks except Fuchsia/LLVM lib checks and abseil checks
  Treats warnings as errors
2026-03-27 17:41:27 +01:00
Maze X
777014f375 Initial setup 2026-03-27 16:46:56 +01:00