For developers interested in improving the code style consistency of the JavaScript they write, I'm happy to recommend the following style guides:
-
Idiomatic.js https://github.com/rwldrn/idiomatic.js/ (highly recommended, very comprehensive and includes contributions by +Rick Waldron , +Mathias Bynens and more)
-
jQuery Core Style Guide http://docs.jquery.com/JQuery_Core_Style_Guidelines (used by jQuery core, QUnit and many other projects)
-
Google JavaScript Style Guide - http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml with some further comments http://blog.founddrama.net/2010/08/annotated-google-javascript-style-guide/
-
Dojo Style Guide http://dojotoolkit.org/community/styleGuide (another very comprehensive alternative)