diff --git a/.husky/post-checkout b/.husky/post-checkout new file mode 100644 index 0000000000..f9b2b6b03f --- /dev/null +++ b/.husky/post-checkout @@ -0,0 +1,6 @@ +#!/bin/sh +[ -n "$NETLIFY" ] && exit 0 +. "$(dirname "$0")/_/husky.sh" + +yarn tidy-clean +yarn install --check-files diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000000..90861ad8cc --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,5 @@ +#!/bin/sh +[ -n "$NETLIFY" ] && exit 0 +. "$(dirname "$0")/_/husky.sh" + +yarn lint-staged