Add precommit hook. Make linter to take file args.