I've been looking into doing some automated analysis, and recentrly came across the Humdrum tools [0], and fell into the rabbit hole. I suspect that the type of 'linting' you'd like to do can be done with them. In any case, totally worth a look.
Woah that is incredibly full featured and I've never heard of it. Down the rabbit hole I go...
Same here... It's pretty mind blowing; I was getting ready to reinvent the wheel, but I think I'll be better off spending some time learning these tools