From bbf50c971289d05eea4d3e7b8835b5c4e5c3c30e Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Sun, 24 Dec 2023 15:37:48 +0100 Subject: [PATCH] Add husky pre-commit hook --- .husky/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..e77cd6f --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +TZ=UTC . "$(dirname "$0")/_/husky.sh" + +node_modules/.bin/lint-staged --relative