summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2026-09-09 20:10:25 +0100
committerMatthew Fennell <matthew@fennell.dev>2026-09-09 21:17:28 +0100
commitfcbf8dfb52bc249450af28a111829d1fc59eac1f (patch)
treeded58c8f696bad71c8f6ff98599c1d1c1086bc9f /hooks
parent83e062e243e110d4a8198ec30b3bba3b2d65589d (diff)
Copy linters and hooks from xmpp-server playbook
These are used to stop the repository from descending into chaos and to raise issues that I might have missed.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-commit6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
new file mode 100755
index 0000000..326159d
--- /dev/null
+++ b/hooks/pre-commit
@@ -0,0 +1,6 @@
+#!/bin/sh
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+make lint