Skip to content

Commit c551e97

Browse files
committed
Add .pre-commit-config.yaml
1 parent 4ff7a1c commit c551e97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-clang-format
3+
rev: v18.1.8 # 最新バージョンを使用
4+
hooks:
5+
- id: clang-format
6+
files: \.(cpp|cc|h)$
7+
args: [-i] # インプレースで修正

0 commit comments

Comments
 (0)