break up lints.rs into separate files

for #4509