From c0c3a9d150b4a5cecc94b9fbfab5faf2c6cbaecf Mon Sep 17 00:00:00 2001 From: "C. M. de Picciotto" Date: Wed, 20 Mar 2024 00:02:06 +0000 Subject: [PATCH] docs: improve README.md new husky configuration explanation [#1] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e53cbd5..3ec578e 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}' > **Note** > -> Starting from `husky@v9` instead of `npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'` use `echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg` +> Starting from `husky@v9`, the last command needs to be modified. Instead of `npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'`, use `echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg`. And you are ready to go! From now on, all messages from your commits will be validated to ensure they adhere to the format: