mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 03:16:54 +02:00
add pre-commit format hook
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v22.1.3
|
||||
hooks:
|
||||
- id: clang-format
|
||||
name: clang-format (C++)
|
||||
files: ^src/.*\.(?:cpp|h|inc)$
|
||||
types: [file]
|
||||
Reference in New Issue
Block a user