]> git.r.bdr.sh - rbdr/forum/commitdiff
Add git hooks
authorBen Beltran <redacted>
Sun, 22 Dec 2019 23:21:06 +0000 (00:21 +0100)
committerBen Beltran <redacted>
Sun, 22 Dec 2019 23:21:06 +0000 (00:21 +0100)
scripts/git-hooks/pre-commit [new file with mode: 0755]

diff --git a/scripts/git-hooks/pre-commit b/scripts/git-hooks/pre-commit
new file mode 100755 (executable)
index 0000000..7c0849a
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+npm run linthtml
+npm run lint