From 4b673a082a61692d172cc3aeaf6815a7d5334eae Mon Sep 17 00:00:00 2001 From: Thomas Fritz Date: Mon, 23 Jan 2023 15:16:14 +0100 Subject: [PATCH] feature: add pre-commit support --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..1924bc7 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: addlicense + name: addlicense + description: Add copyright license header to source code. + entry: addlicense + types: [text] + language: golang