Besides all the Java code in the RAP project, we also have more than 250 JavaScript files which total up to 75k lines of code. For such an amount of code, you should have some kind of code analysis that detects common coding problems like unintentional global variables. We use the JSEclipse plug-in for JavaScript editing which detects some, but not many JavaScript problems. A while ago, we tried t
![Javascript validation with JSHint in Eclipse](https://cdn-ak-scissors.b.st-hatena.com/image/square/0637e41543c2dd6d7e21da72e794db5bb53dc056/height=288;version=1;width=512/https%3A%2F%2Feclipsesource.com%2Fimages%2Fes-logo-square.png)