From a9b3b4d512421817cc34c4efe5f4d29a9453278d Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 23 Dec 2019 00:21:06 +0100 Subject: Add git hooks --- scripts/git-hooks/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/git-hooks/pre-commit (limited to 'scripts/git-hooks') diff --git a/scripts/git-hooks/pre-commit b/scripts/git-hooks/pre-commit new file mode 100755 index 0000000..7c0849a --- /dev/null +++ b/scripts/git-hooks/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +npm run linthtml +npm run lint -- cgit