chore(adopting-conventional-commits): updated hook file to commit-ms

This commit is contained in:
Rick van Lieshout 2025-01-02 22:55:56 +01:00
parent 283c25681b
commit 9f05d8a715

View File

@ -340,7 +340,7 @@ Now, let's add a Husky git hook to combat future commits that are unconventional
npx husky-init && npm install 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 ```sh
#!/usr/bin/env sh #!/usr/bin/env sh