codu-code / codu

Codú's open-source codebase. A space for coders. Visit our community!
https://codu.co/
Apache License 2.0
121 stars 92 forks source link

husky add depricated in article "Enforcing Conventional Commit messages using Git hooks with husky & commitlint" #993

Open Mandeep56Singh opened 4 weeks ago

Mandeep56Singh commented 4 weeks ago

screenshots

Screenshot (414)

Steps to reproduce

Please provide detailed steps for reproducing the issue

  1. go to this article
  2. scroll till you see this command
    npx husky install
    npx husky add .husky/commit-msg 'npx commitlint --edit $1'
  3. run this command

Additional info

refer to this stack overflow fix https://stackoverflow.com/questions/78173983/husky-add-command-is-deprecated

github-actions[bot] commented 4 weeks ago

Hello @Mandeep56Singh, thanks for opening your first issue! your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.