Git hooks are a useful way of triggering code quality scripts. The pre-commit tool provides us with a way of doing this and tapping into the huge library of scripts already in existence to ensure our code complies with general linting and formatting good practice.
The post Using pre-commit to prevent simple mistakes appeared first on SQLServerCentral.
