0

Ive used husky before however I noticed that I can just use pre-commit as is.

Since node now supports pre and post running of scripts wouldn't husky be kinda overkill?

0x1λ3r
  • 11
  • 1
  • 1
    How is node related to git in this situation? – Konrad Aug 15 '22 at 10:53
  • in your package.json you can run example: `"prelint": "prettier --check ."` so inside your scripts in the package.json adding this will run the prettier before running the lint task – 0x1λ3r Aug 15 '22 at 11:03
  • `husky` is used to run commands before `git` hooks, like `commit` or `push`. I don't see how `prelint` could be used here. – Konrad Aug 15 '22 at 11:04

0 Answers0