Using the instructions [here](https://prabinpoudel.com.np/articles/run-eslint-on-git-commit-with-husky-and-lint-staged/) create a pre-commit hook to run eslint automatically when commits are made. **Note:** the link above advises to install using npm. We use yarn as our package manager and it should be used in place of npm.