The script and regex linter didn't appear to behave well with the more 'modern' approach to lint configuration. I've taken a stab at modernizing it while attempting to retain backwards compatibility.
Feedback is welcome, I'm sure I've buggered something.