Integration with git hooks to allow for triggering events during git lifecyle (ie: git commit).
Was setup initially in project by running npx husky install
. This command does not have to be ran again.
.husky/*
Used for easily configuring what commands to run during git staged lifecyle hook. Used in combination with husky.
Lives in package.json
, under lint-staged.
Used to format and assist with git commit messages.
Lives in package.json
, under config.commitizen.
git commit
- When running this, commitzen will take over because of husky hook integration.
.eslintrc.json
CLI tool for formatting files in your project. Keeps formatting consitent with an opinionated approach to reduce decision overhead and keep things simple.
git commit
- When running this, prettier will take over because of husky hook integration.npx prettier . --check
npx prettier . --write
.prettierignore
.prettierrc
tsconfig.json