Update lintAll() usage and implement proper error handling