Skip to content

Commit

Permalink
docs: improve README.md new husky configuration explanation [#1]
Browse files Browse the repository at this point in the history
  • Loading branch information
d3p1 committed Mar 20, 2024
1 parent 319c9ee commit c0c3a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c0c3a9d

Please sign in to comment.