From 2562f21139ced2122eb2bef18c37499b67e203fa Mon Sep 17 00:00:00 2001 From: chimurai <655241+chimurai@users.noreply.github.com> Date: Sun, 28 Nov 2021 22:32:34 +0000 Subject: [PATCH] chore(husky): fix husky v7 hooks --- .husky/commit-msg | 3 +++ .husky/pre-commit | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.husky/commit-msg b/.husky/commit-msg index 2785bc1d..d71a03b9 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + yarn commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 37236231..d2ae35e8 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + yarn lint-staged