Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 435 Bytes

husky.md

File metadata and controls

23 lines (16 loc) · 435 Bytes

Husky

npx husky install

Env

npm i -D @commitlint/{cli,config-conventional,config-nx-scopes,cz-commitlint} commitizen

Env config

echo "module.exports = {extends: ['@commitlint/config-conventional', '@commitlint/config-nx-scopes']}" > commitlint.config.js

Env Hook

npx husky add .husky/commit-msg 'npx commitlint --edit $1'