feat: add pre-commit and initial justfile

This commit is contained in:
2026-05-01 23:47:28 +02:00
parent 2a3795f3bd
commit a0e6e996c2
2 changed files with 38 additions and 0 deletions

18
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,18 @@
exclude: '^(qmk_upstream/|qmk_framework/|\.build/)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-added-large-files
- id: check-yaml
- id: check-json
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format
types_or: [c, c++]