summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2026-01-05 12:40:09 -0500
committerStefan Weigl-Bosker <stefan@s00.xyz>2026-01-10 15:37:46 -0500
commitd4b629cc275769c2553db819643849cda2395a17 (patch)
tree6dcc5d0c886945f8b58b4d8fd6c7eea4bb1b194d /.pre-commit-config.yaml
downloadcompiler-d4b629cc275769c2553db819643849cda2395a17.tar.gz
init
wip wip, pt2 wip, pt3
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..2d278e4
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,6 @@
+repos:
+ - repo: https://github.com/pre-commit/mirrors-clang-format
+ rev: v17.0.6
+ hooks:
+ - id: clang-format
+ files: "\\.(c|cc|cpp|cxx|h|hh|hpp)$"