move lintification and reporting to modules