Run Git hooks in Web IDE

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

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-commit run after Commit is clicked after providing a commit message
  • commit-msg run after the pre-commit hook succeeds, and if successfully, push the commit.

Links / references

  • Husky https://github.com/typicode/husky makes Git hooks easy for node projects
Edited Jun 25, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading