summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Libert2024-01-17 10:08:22 +0100
committerBart Libert2024-01-17 10:08:22 +0100
commita448ae1fe1b37254858c345940a0548d13ec954a (patch)
treedd62499cc20c86b1ead1a982bf316c550a2d6485
parent11c0fab9a5f0e3a7aebf3b5795a680d89c11b725 (diff)
downloadaur-cleanerml-git.tar.gz
Add pre-commit config
-rw-r--r--.pre-commit-config.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 000000000000..07fd3db75be9
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,19 @@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0
+ hooks:
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-vcs-permalinks
+ - id: destroyed-symlinks
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: mixed-line-ending
+ - id: trailing-whitespace
+ - repo: https://github.com/edlanglois/pkgbuild-hooks
+ rev: v0.2.0
+ hooks:
+ - id: srcinfo-fixer
+ - id: verify-srcinfo-checksums
+default_install_hook_types: [pre-commit, commit-msg]