Heya,<br><br>More and more contrib modules are including JavaScript files, so I want to add the ability to review JavaScript files to the <a href="http://drupal.org/project/coder" rel="nofollow">Coder</a> module.  However, step 1 is we need to agree on what coding standards we should be using for JavaScript.<br>
<br>At present we have the <a href="http://drupal.org/node/172169" rel="nofollow">Coding standards for JS files</a> doc which has one or two ideas but isn&#39;t complete.  We also have the main <a href="http://drupal.org/coding-standards" rel="nofollow">Coding Standards</a>
doc, and while most are transferable to JavaScript, not all are. So I&#39;ve put some suggestions together at <a href="http://drupal.org/node/260140">http://drupal.org/node/260140</a>&nbsp; A fair few of them come from the standards used by JSLint so there shouldn&#39;t be many surprises.&nbsp; I&#39;d really appreciate a discussion/debate on this and hopefully we can agree on the coding standards we want to use.<br>
<br>Cheers,<br>Stella<br>