From: Ben Beltran Date: Sun, 22 Dec 2019 23:21:06 +0000 (+0100) Subject: Add git hooks X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/a9b3b4d512421817cc34c4efe5f4d29a9453278d?hp=24c19840864ecca77c75983d3388c3c19a260e79 Add 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