Add Pre- Commit to your next.js web application [with Eslint, prettier, Husky] 2021 edition

Everyone can write code, but not everyone is able to write clean code. For this reason, we use pre-commits. In this tutorial we will learn how to keep our GitHub repository clean with the help of Husky, Eslint (AirBnb) and Prettier.

What is pre-commit in our case?