Skip to content

Commit 389394a

Browse files
authored
Add pre-commit hooks (#59)
1 parent ddd8637 commit 389394a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/keith/pre-commit-buildifier
3+
rev: 8.2.1
4+
hooks:
5+
- id: buildifier
6+
- id: buildifier-lint
7+
8+
- repo: https://github.com/pre-commit/mirrors-clang-format
9+
rev: v21.1.1
10+
hooks:
11+
- id: clang-format

0 commit comments

Comments
 (0)