From fcbf8dfb52bc249450af28a111829d1fc59eac1f Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Wed, 9 Sep 2026 20:10:25 +0100 Subject: 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. --- hooks/pre-commit | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 hooks/pre-commit (limited to 'hooks/pre-commit') 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 +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +make lint -- cgit v1.2.3