I have a huge script that passes JSLint (including avoidance of all bad parts). Except for one stretch, which is some very convoluted obfuscated code that is embedded within the larger context. JSLint generates quite a bit of complaints for this section, and I'd like to selectively disable it for that stretch of code. I already do use selective
/*jlsint xxx:true/false*/
directives to disable particular warnings for certain tiny stretches of code that do things contrary to the struct interpretation.
The obfuscated code I have uses constructs that I don't know if they can be disabled.
For instance:
for(L=(117.>
causes this message:
Problem at line 1 character 57: A trailing decimal point can be confused with a dot '117.
Sure, I know that I could clean up the code, but it is emitted from an obfuscator, and I really don't want to have to clean obfuscated code!
So, is there a way to tell JSLint to completely ignore a stretch off code?
I am aware of this query http://stackoverflow.com/questions/599859/jslint-control-comments-selective-ignore but it wasn't answered.