diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 000000000000..fd2bf708ee96 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1 @@ +npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 005e04e5545e..dbaf5913fde5 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,2 @@ -npx commitlint --edit $1 -npx lint-staged +npx --no-install lint-staged npm run typecheck