Skip to content

Commit 53fbd14

Browse files
chore: Add pre-commit config for hook (#58)
Install pre-commit: pip install pre-commit Install the hook into Git: pre-commit install
1 parent fecf4b5 commit 53fbd14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-clang-format
3+
rev: v18.1.8 # Use the latest version tag
4+
hooks:
5+
- id: clang-format
6+
types_or: [c, c++, c#, cuda, java, javascript, json, objective-c, proto, textproto]

0 commit comments

Comments
 (0)