넷평의 개발 노트

git hook

${REPOSITORY_ROOT}/.git/hooks $GIT_DIR/hooks

git config core.hooksPath ./git-hooks

pre-commit

  • https://pre-commit.com/
  • https://github.com/dotnet/format/blob/main/docs/integrations.md#pre-commitcom-hook-to-reformat

husky

  • https://typicode.github.io/husky/
  • https://github.com/alirezanet/husky.net

etc

  • https://github.com/evilmartians/lefthook
  • https://github.com/lint-staged/lint-staged

Ref

  • https://dev.to/krzysztofkaczy9/do-you-really-need-husky-247b