Skip to content

Commit ee69bea

Browse files
authoredJan 5, 2024
docs: add node badge (#3841)
1 parent f7b6ed6 commit ee69bea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
>
1111
> `cat docs/assets/commitlint.json | svg-term --out docs/assets/commitlint.svg --frame --profile=Seti --height=20 --width=80`
1212
13-
[![npm latest][2]][3] [![Github Actions][4]][5]
13+
[![npm latest][2]][3] [![node compatibility][13]][14] [![Github Actions][4]][5]
1414

1515
- 🚓 Be a good `commitizen`
1616
- 📦 Share configuration via `npm`
@@ -108,9 +108,11 @@ yarn husky install
108108
```
109109

110110
### Add hook
111+
111112
> [!WARNING]
112113
> It's necessary that you use **commit-msg** as the name for hook file.
113114
> Read Git hooks [documentation](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) for more info.
115+
114116
```
115117
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'
116118
```
@@ -354,3 +356,5 @@ npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dis
354356
[10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square
355357
[11]: https://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square
356358
[12]: https://devtoolscommunity.herokuapp.com
359+
[13]: https://img.shields.io/node/v/@commitlint/cli.svg
360+
[14]: https://nodejs.org/en/about/previous-releases

0 commit comments

Comments
 (0)
Please sign in to comment.