Setting up pre-commit hook with husky to automate code formatting🪝
Intro ✨
I have a React TypeScript project for which I want to automate code formatting before committing changes to the repo, hence in this tutorial, I will teach you to do the same using husky, lint-staged & prettier.
Installing and Setting up Husky...
sridharmaskeri.hashnode.dev2 min read