Hello folks. I hope you all are doing well.
In this post, I explain why and how we have set up formatting and linting in our React(typescript) project with ESLint, Prettier, Husky (pre-commit hook), and lint-staged to avoid bad commits and properly format code before committing. So let’s get into it.
First I’ll talk about ESlint…