Javascript Coding Standards
More and more contrib modules are including JavaScript files, so I want to add the ability to review JavaScript files to the Coder module. However, step 1 is we need to agree on what coding standards we should be using for JavaScript.
At present we have the Coding standards for JS files doc which has one or two ideas but isn't complete. We also have the main Coding Standards doc, and while most are transferable to JavaScript, not all are. So I've put some suggestions together at http://drupal.org/node/260140 A fair few of them come from the standards used by JSLint so there shouldn't be many surprises. I'd really appreciate a discussion on this and hopefully we can agree on the coding standards we want to use.
Update: marking as approved as most of the above is now part of the JS coding standards doc on d.o at http://drupal.org/node/172169 Further changes, etc, can be made there. Thanks to everyone who helped.
