diff --git a/.husky/commit-msg b/.husky/commit-msg index 90b4eb099a..bf482d0618 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1 +1,3 @@ +#!/bin/bash + pnpm commitlint --config commitlint.config.cjs --edit "$1" \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index e7632d3e55..43d2af0d64 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,3 @@ +#!/bin/bash + pnpm format && pnpm lint && pnpm test \ No newline at end of file