In this pull request, I added a new pre-commit hook to the project. I created a new file in the root directory of the project named .prettierrc.json that contains the configuration for the pre-commit hook run by husky.
Testing:
To test the new pre-commit hook,I ran the pre-commit run command, and the hook successfully identified the issues and over wrote those files with proper format.
Changes:
In this pull request, I added a new pre-commit hook to the project. I created a new file in the root directory of the project named
.prettierrc.json
that contains the configuration for the pre-commit hook run by husky.Testing:
To test the new pre-commit hook,I ran the pre-commit run command, and the hook successfully identified the issues and over wrote those files with proper format.