diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..0c3e543 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v18.1.8 # 最新バージョンを使用 + hooks: + - id: clang-format + files: \.(cpp|cc|h)$ + args: [-i] # インプレースで修正 \ No newline at end of file