From a7272306600ac67c4f84dcdfdd456f3328ee37a4 Mon Sep 17 00:00:00 2001 From: TESTELIN Geoffrey Date: Fri, 22 Oct 2021 00:11:46 +0200 Subject: [PATCH] chore(husky): configure husky --- .husky/commit-msg | 4 ++++ .husky/post-commit | 4 ++++ .husky/pre-commit | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 .husky/commit-msg create mode 100644 .husky/post-commit create mode 100644 .husky/pre-commit diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 000000000..dacb309a2 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run commit-msg -- "$1" diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100644 index 000000000..c4b2ab86b --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run post-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 000000000..1d1e80254 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run pre-commit