JavaScript syntax checking and compression

2.6k Views Asked by At

Do you know a good syntax checker and compressor for JavaScript?

We are currently using JSLINT as syntax checker and YUI for compression. Note we are using the library ExtJS for UI.

3

There are 3 best solutions below

0
On BEST ANSWER

What about the newly released Closure Compiler?

It removes dead code, checks syntax, variable references, types, and warns you about other common JavaScript pitfalls.

1
On

Those are top-of-the-line tools that are very good at their respective jobs. Is there a particular area in which you would like to see improvement? Otherwise I would say stick with them.

1
On

You might want to consider Google's newly released Closure Compiler and it's Advanced Compilation options.