mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-24 04:22:28 +01:00
chore(adopting-conventional-commits): updated hook file to commit-ms
This commit is contained in:
parent
283c25681b
commit
9f05d8a715
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user