views:

109

answers:

3

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.

+1  A: 

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.

Andrew Hare
Better compression without needing to modify our code, better javascript syntax checking (can be done?)
rossoft
+1  A: 

What about the newly released Closure Compiler?

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

CMS
+1  A: 

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

Sam C
It seems it is too much aggressive as it requires some changes in our code in some cases
rossoft