I've never used Git pre-commit
hooks, because believed that they, being developer-specific, don't control quality as strong as a CI-side build pipeline. However, today, I've played a bit with the
pre-commit tool and found it pretty useful. However, their documentation strongly suggest adding a YAML config file to every repository. That's ridiculous! After some research, I've found out that I'm not the only one with
this question: how can pre-commit tool be used for all repositories, avoiding massive duplication of the same YAML configuration, across all repositories? Here is my solution, if you wonder too,
posted on SO.