Skip to content

(optional) Adding pre commit

Ghost User requested to merge (removed):adding-pre-commit into dev

https://pre-commit.com/

Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks.

This would be great to add, just for the devs to be able to restrict basic errors to a minimum. It's not required to use, but it would help to keep all files cleaner, if the devs are using it.

I'll add instructions how to use it to the docs.

Edited by Ghost User

Merge request reports