Example of using JSCodeSniffer with client-side JavaScript (RequireJS)
var foo = [a,b]; if(condition) doSomething();
Sniff