jshint/jshint — pull request #1352 by BenoitZugmeyer (2013-11-06 22:47:54+00:00)
Title: Extract JS from HTML files

This is a feature proposal. I'm well aware that inlining JavaScript into HTML files is a bad practice in so many cases, but there is a few defendable usages.

At my work, we develop widgets mainly self-contained into a single HTML file (that's what we did since day one and it works great). In order to lint the JS contained into those files, I had to fork node-jslint in order to extract the source code from the HTML. As we now want to migrate to Jshint, I did the same, and now proposing my changes to the community, as I am sure that it can be useful to someone else.

As this is my first work on jshint, feel free to comment my code and ask me to reshape it if needed.