Sample lint function that returns a data structure describing warnings

Tested briefly with Eastwood 0.2.0.  Likely to be added to next
Eastwood release.