this PR adds 3 things to happen before committing:
eslint will run and in case there's any problems it will not allow to commit;
if eslint runs with no errors, prettier will run in the staged files;
after prettier, jest tests will run, and if there's any error it won't allow to commit;
although this PR adds jest, it doesn't add any test, with the exception of an example file and test with the link to where people should go to learn how to do it.
this PR adds 3 things to happen before committing:
although this PR adds jest, it doesn't add any test, with the exception of an example file and test with the link to where people should go to learn how to do it.