Re: [jslint] Re: ANN: JSLint Reporter (Node.js wrapper)
> What I'm doing already is evaluating fulljslint.js in a secureIndeed, I hadn't quite thought that through - thanks for being thorough!
> context. Any attempt to access local resources *on evaluation* of the
> script would fail. BUT! What I'm not doing yet is running the JSLINT
> function in a secure context.
> The last step is not terribly difficult, I just haven't had the time.This was relatively straightforward (I think... ):
> It would involve putting the string to lint into the sandbox that
> contains the JSLINT function and then using runInNewContext to do the
> actual linting inside the sandbox
I'd certainly appreciate a review though.
> Full disclosure: I'm a complete Node.js newbie myself. LintServer isDitto - I'll see whether I can run this by some Node.js experts.
> the first piece of Node code I've ever written. As such there is
> probably a better way than mine to do the things I do.