Skip to content

Commit 7ed1d78

Browse files
committed
add pre-commit helper
1 parent 6973ffa commit 7ed1d78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-clang-format
3+
rev: 'v13.0.1' # Use the sha / tag you want to point at
4+
hooks:
5+
- id: clang-format
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v2.3.0
8+
hooks:
9+
- id: trailing-whitespace

0 commit comments

Comments
 (0)