From 00ab46f1ce5cb41e762a5f1dad9bcb292929ecf2 Mon Sep 17 00:00:00 2001 From: splincode Date: Mon, 7 Oct 2024 17:20:06 +0300 Subject: [PATCH] chore: commitlint --- .husky/commit-msg | 1 + .husky/pre-commit | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .husky/commit-msg diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 0000000000000..fd2bf708ee962 --- /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 005e04e5545e0..dbaf5913fde56 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