Added the ability to scan directories recursively.

As a build step it's often useful to run a linter over your whole
project and see what needs linting.