Open yuramax opened 3 hours ago
I’m not sure that preventing commit code with problems fixes any issues. So i wouldn’t recommend to add husky
@killev Peter, maybe we understand Husky differently, but our goal was to automate processes that can be forgotten. For example, developers forgot to run ES Lint, Prettier tests before committing, and when a PR is created, problems come up because for example tests/prettier/lint were not run locally before commit.
Perhaps there is another solution, if so, please advise. Thank you!
We want to add commit hooks to Git with Husky to automate code tasks. This means that it would be nice if we could run all the necessary commands related to ESLint, Prettier, running jest tests, running Cypress tests before creating a Pull Request/commit.
Husky library - https://typicode.github.io/husky/