Git hooks
The repository uses Husky with lint-staged to lint your commits. Husky automatically sets up a git hook when you do npm install
for the first time. When you git commit
the commit message is checked to comply with Conventional Commits and your staged files (and staged files only) are verified with ESLint and formatted with Prettier. If there are any problems you will get an error at the time of commit. This has the advantage that you notice problems before creating a pull request and without having to wait for GitHub Actions (our CI tool) to complete.