We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69ca14 commit c6c5a81Copy full SHA for c6c5a81
.pre-commit-config.yaml
@@ -0,0 +1,17 @@
1
+repos:
2
+- repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.5.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+ args: [--markdown-linebreak-ext=md]
9
+ - id: detect-private-key
10
+ - id: destroyed-symlinks
11
+ - id: mixed-line-ending
12
+ args: [--fix=lf]
13
+- repo: https://github.com/pre-commit/mirrors-clang-format
14
+ rev: 'v15.0.7'
15
16
+ - id: clang-format
17
+ types_or: [c++, c]
0 commit comments