Move lint logging to cli.js