We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d39806 commit 4e18198Copy full SHA for 4e18198
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,28 @@
1
+repos:
2
+ # Format C++ code with Clang-Format - automatically applying the changes
3
+ - repo: https://github.com/pre-commit/mirrors-clang-format
4
+ rev: v16.0.6
5
+ hooks:
6
+ - id: clang-format
7
+ args:
8
+ - --style=Mozilla
9
+ exclude: ^ext/
10
+
11
+ # Add some general purpose useful hooks
12
+ - repo: https://github.com/pre-commit/pre-commit-hooks
13
+ rev: v4.4.0
14
15
+ # Make sure that contained YAML files are well-formed
16
+ - id: check-yaml
17
+ # Trim trailing whitespace of all sorts
18
+ - id: trailing-whitespace
19
+ # Apply a file size limit of 500kB
20
+ - id: check-added-large-files
21
+ # Unify file endings
22
+ - id: end-of-file-fixer
23
24
+ # GitHub Actions Workflow linter
25
+ - repo: https://github.com/rhysd/actionlint
26
+ rev: v1.6.25
27
28
+ - id: actionlint
0 commit comments