diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 00000000..9cdbd7af --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname "$0")/_/husky.sh" + +yarn lint-staged --allow-empty "$1" \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..9cdbd7af --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname "$0")/_/husky.sh" + +yarn lint-staged --allow-empty "$1" \ No newline at end of file