Use hash instead of which to check if program is installed.
Don't check for linters if there are no files of that type.