Make Sure You’re Not Committing Bad JavaScript by Using a Git Hook

As a follow on to my post about using a Git hook with PHP Code Sniffer to make sure that you’re committing good PHP code, this post is going to cover doing the same thing to make sure that your JavaScript passing a JSLint check. The only pre-requisite to get this to work is to […]

Code automation with git hooks

Improve your code quality with git hooks, composer, and PHP Code Sniffer

First, let’s cover what all of these terms mean Git Hooks If you’re doing any sort of development you need to make sure that you’re using version control, and Git happens to be my preferred solution. Git offers these cool little tools called Git hooks. Hooks run bash scripts at a number of different points […]