throw error on lint error/warning