Javascript Syntax Checker

I have come across javascript lint but it seems to be a bit outdated… is there a more up to date syntax checked for javascript or does javascript lint still do the job?

There are several online tools I have seen but unfortunately these are no use as I need to be able to run it from the command line and (hopefully) be able to import it into vim.

Thanks

What’s outdated about JSLint.com?

Javascript syntax hasn’t changed, or did it change on me?

Ah… i was referring to http://www.javascriptlint.com/
The compile notes suggest that the latest version was built in 2004… and I lot of standards have changed since then.

The problem with JSLint.com is that its a browser based tool… I am really looking for a command line tool…

Thanks

I thought he did have a downloadable version of JSLint though, because now that you mention it I have heard of people having it built-in their editors.

Rhino is a javascript engine that runs via java on the command line. That can run jslint for you.

http://www.jslint.com/rhino/index.html

Managed to get it up and running with Rhino… many thanks

G