diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 000000000..8592824fa --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,2 @@ +# Check formatting on modified and uncommitted files, stop the commit if issues are found +npm run format:write --uncommitted || exit 1