I've got a ton of JS spaghetti that is in dire need of a good scrubbing. I've already configured sublimetext2 via package Control to use sublime-jslint
, and I've passed the necessary command-line switches to jslint4java-2.0.1
so it knows how to do its magic. Problem is, these files contain some third party code pasted in. I cannot move this code outside of the file, because it is time-critical and needs to be loaded before anything else.
I looked into the jslint4java
documentation and could not find a way to make it ignore a specific section of a script. I've searched through the site, and the only things about ignoring code regions that I could find were for jslint web version.
So, my question is: are there any ways to make it ignore a specific region of a javascript file? I'd rather not ignore the warnings if I can somehow sandbox that portion so jslint doesn't shout at me.
Thanks in advance.