configure husky angular code example
Example 1: angular9 husky
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && ng lint && ng test",
"pre-push": "ng build --aot true"
}
}
Example 2: how to add husky to angular
npm install husky --save-dev