Run Git hooks in Web IDE
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
It is reasonably common for projects to include Git hooks to help developers make sure code is linted before making a commit, and even to lint the commit message itself. Since we'll need to install dev dependencies to run tests, we should also run commit hooks too!
Proposal
Run Git hooks in the attached runner when committing:
-
pre-commitrun after Commit is clicked after providing a commit message -
commit-msgrun after thepre-commithook succeeds, and if successfully, push the commit.
Links / references
- Husky https://github.com/typicode/husky makes Git hooks easy for node projects
Edited by 🤖 GitLab Bot 🤖