That would kind of defeat the whole purpose of JSLint I think. When JSLint complains about something in your code its because theres a good chance it could be an error. I dont know about the rest of you, but when I fix files for JSLint I do occasionally stumble on some code that obviously never worked. If I had run any automatic tool on such a file, errors like that would not be found. And more importantly, I would never become a better programmer!
--- In email@example.com, Michael Lorton <mlorton@...> wrote:
> Huh. Didn't know about that one. Maybe we should have JSUnLint, goes through and corrects any correctable errors; e.g., put the missing braces around the one-line blocks, put in missing semicolons, that sort of thing. (I doubt it could fix "continue".)
> No-one should rent. Buy this house.