Module: kamailio
Branch: master
Commit: f781dc9ce914cc619abd9d53f987f1155557b720
URL:
https://github.com/kamailio/kamailio/commit/f781dc9ce914cc619abd9d53f987f11…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-05-19T00:25:47+02:00
pre-commit: tool to keep thing tidy [skip ci]
---
Added: .pre-commit-config.yaml
---
Diff:
https://github.com/kamailio/kamailio/commit/f781dc9ce914cc619abd9d53f987f11…
Patch:
https://github.com/kamailio/kamailio/commit/f781dc9ce914cc619abd9d53f987f11…
---
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000000..f9af7b878e1
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,13 @@
+repos:
+ - repo:
https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.3.0
+ hooks:
+ - id: check-yaml
+ - id: check-xml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
+ - id: check-merge-conflict
+ - repo:
https://github.com/pre-commit/mirrors-clang-format
+ rev: v15.0.7
+ hooks:
+ - id: clang-format