From 7c2aa64df980c4937812c09d4038b19de7ea8cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Sat, 25 Nov 2023 09:03:22 +0900 Subject: [PATCH] fix: commit-msg script and add lint-staged command --- .husky/commit-msg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 4c49ae6..d76dfb8 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn commitlint --edit $1 +yarn commitlint --edit "$1" +yarn lint-staged \ No newline at end of file