From 9f05d8a715b6de50c86b4593447a4f500015e419 Mon Sep 17 00:00:00 2001 From: Rick van Lieshout Date: Thu, 2 Jan 2025 22:55:56 +0100 Subject: [PATCH] chore(adopting-conventional-commits): updated hook file to commit-ms --- content/posts/2022/adopting-convential-commits/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/2022/adopting-convential-commits/index.md b/content/posts/2022/adopting-convential-commits/index.md index 60411ed..1bb8163 100644 --- a/content/posts/2022/adopting-convential-commits/index.md +++ b/content/posts/2022/adopting-convential-commits/index.md @@ -340,7 +340,7 @@ Now, let's add a Husky git hook to combat future commits that are unconventional npx husky-init && npm install ``` -This will automatically create the `.husky/pre-commit` file. Let's edit it and add commitlint: +This will automatically create the `.husky/` directory. Let's create a file in it called `commit-msg` and add commitlint: ```sh #!/usr/bin/env sh