lintify

Please carefully review because I can't verify all scenarios.